diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c103098a9b0..2706790d5ef 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -48,6 +48,7 @@ jobs: uses: docker/build-push-action@v4 with: context: . + platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/Dockerfile b/Dockerfile index 01e7070eb80..a605cab6b09 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ RUN stack install FROM debian:stable-slim -RUN apt-get update && apt-get install libtinfo5 libgmp10 && rm -rf /var/lib/apt/lists +RUN apt-get update && apt-get -y install libtinfo5 libgmp10 && rm -rf /var/lib/apt/lists COPY --from=dev /root/.local/bin/hledger* /usr/bin/