Skip to content

Commit 8c7424a

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

8.10/ghcup/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ARG STACK_VERSION=2.7.3
3131
RUN ghcup install stack -i /usr/local/bin $STACK_VERSION
3232

3333
# install GHC into /opt/ghc
34-
ARG GHC_VERSION=8.10.6
34+
ARG GHC_VERSION=8.10.4
3535
RUN ghcup install ghc -i /opt/ghc $GHC_VERSION
3636

3737
FROM debian:buster
@@ -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)