dev: fix Dockerfile installing of dependencies
Avoid the build failing due to an interactive prompt.
This commit is contained in:
parent
fddc01a3a2
commit
e0b24eff87
1
.github/workflows/docker.yml
vendored
1
.github/workflows/docker.yml
vendored
@ -48,6 +48,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|||||||
@ -21,7 +21,7 @@ RUN stack install
|
|||||||
|
|
||||||
FROM debian:stable-slim
|
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/
|
COPY --from=dev /root/.local/bin/hledger* /usr/bin/
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user