Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yvan-sraka committed Feb 27, 2024
1 parent 90a5b1e commit 11133d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ ARG COMPILER_NIX_NAME="ghc961"
ARG MINIMAL="true"
ARG IOG="false"

RUN apt-get update \
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& yes | apt-get install curl git jq nix zstd \
&& curl -L https://raw.githubusercontent.com/input-output-hk/actions/latest/devx/support/fetch-docker.sh -o fetch-docker.sh \
&& chmod +x fetch-docker.sh \
&& SUFFIX='' \
&& if [ "$MINIMAL" = "true" ]; then SUFFIX="${SUFFIX}-minimal"; fi \
&& if [ "$IOG" = "true" ]; then SUFFIX="${SUFFIX}-iog"; fi \
&& ./fetch-docker.sh input-output-hk/devx $PLATFORM.$COMPILER_NIX_NAME$TARGET_PLATFORM${SUFFIX}-env | zstd -d | nix-store --import | tee store-paths.txt \
&& yes | apt-get remove jq nix zstd \
&& yes | apt-get remove curl jq nix zstd \
&& yes | apt-get autoremove \
&& yes | apt-get autoclean

Expand Down

0 comments on commit 11133d9

Please sign in to comment.