dev: fix Dockerfile installing of dependencies

Avoid the build failing due to an interactive prompt.
This commit is contained in:
Doug Goldstein 2023-02-09 22:29:35 -06:00 committed by Simon Michael
parent fddc01a3a2
commit e0b24eff87
2 changed files with 2 additions and 1 deletions

View File

@ -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 }}

View File

@ -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/