Skip to content

Commit bca2b7b

Browse files
committed
Skip docs in final image
1 parent 6c31aab commit bca2b7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

8.10/ghcup/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ RUN apt-get update && \
4949
rm -rf /var/lib/apt/lists/*
5050

5151
COPY --from=builder /usr/local/bin /usr/local/bin
52-
COPY --from=builder /opt/ghc /opt/ghc
52+
COPY --from=builder /opt/ghc/bin /opt/ghc/bin
53+
COPY --from=builder /opt/ghc/lib /opt/ghc/lib
5354

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

0 commit comments

Comments
 (0)