Skip to content

Commit

Permalink
Fix AMD64 dependency error in CLI Docker Build (#362)
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Cloutier <[email protected]>
Co-authored-by: Kurtis Mullins <[email protected]>
  • Loading branch information
kurtismullins and kurtismullins authored Oct 4, 2023
1 parent 5bd53a9 commit 6dba36c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Compile Aarch64 Docker
run: |
docker build --platform=linux/aarch64 -f crates/cli/Dockerfile -t cli .
docker buildx build --platform=linux/arm64 -f crates/cli/Dockerfile -t cli .
mkdir build
id=$(docker create cli)
docker cp $id:/usr/local/bin/spacetime - > build/spacetime.linux-arm64.tar
Expand Down

0 comments on commit 6dba36c

Please sign in to comment.