Skip to content

Commit

Permalink
Skip docs in final image
Browse files Browse the repository at this point in the history
  • Loading branch information
AlistairB committed Aug 22, 2021
1 parent 6c31aab commit bca2b7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 8.10/ghcup/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

COPY --from=builder /usr/local/bin /usr/local/bin
COPY --from=builder /opt/ghc /opt/ghc
COPY --from=builder /opt/ghc/bin /opt/ghc/bin
COPY --from=builder /opt/ghc/lib /opt/ghc/lib

# Adjust PATH
RUN echo 'export PATH="/opt/ghc/bin:$PATH"' >> /etc/profile.d/ghcup_path.sh && \
Expand Down

0 comments on commit bca2b7b

Please sign in to comment.