Skip to content

Commit e7a7aad

Browse files
Add linux installs for npm (#38)
# Problem # Lambda cd was failing due to lack of some linux dependencies for `run npm` # Solution # Adding apt-get update and apt-get installs to fix this in the CD steps according to: https://stackoverflow.com/questions/67017795/npm-install-is-failing-with-docker-buildx-linux-arm64
1 parent d031126 commit e7a7aad

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/cd-dgraph-lambda.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ jobs:
2424
with:
2525
username: ${{ secrets.DOCKERHUB_USERNAME }}
2626
password: ${{ secrets.DOCKERHUB_PASSWORD_TOKEN }}
27-
- name: Push dgraph-lambda images
27+
- name: Install linux dependencies
28+
run: |
29+
#!/bin/bash
30+
apt-get update -y
31+
apt-get install qemu qemu-user-static binfmt-support debootstrap -y
32+
- name: Build and push dgraph-lambda images
2833
run: |
2934
docker buildx create --name builder --driver docker-container
3035
docker buildx use builder

0 commit comments

Comments
 (0)