From a9a6a9464016ecfbb49cd17ebc518a8a60c3f156 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Thu, 9 Feb 2023 22:29:35 -0600 Subject: [PATCH] dev: fix Dockerfile installing of dependencies Avoid the build failing due to an interactive prompt. --- .github/workflows/docker.yml | 1 + Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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/