Skip to content

Commit

Permalink
Ok it is needed :((
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyMatt committed Jul 16, 2024
1 parent 38768d6 commit d86b9ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --de
RUN apt autoremove -y && apt clean

# Delete doc directory as it is unneeded and heavy
RUN rm -r /usr/share/doc /root/.rustup/toolchains/1.77-$(uname -m)-unknown-linux-gnu/share/doc
RUN rm -r /usr/share/doc /root/.rustup/toolchains/${TOOLCHAIN_VERSION}-$(uname -m)-unknown-linux-gnu/share/doc

FROM scratch
COPY --from=base / /
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt update -y && apt install -y \
lsb-release m4 openssl peg python3 python3-pip \
python3-venv software-properties-common wget

RUN apt update -y && apt upgrade -y
RUN apt upgrade -y

# Get LLVM, Clang
ARG LLVM_VERSION=17
Expand All @@ -28,7 +28,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --de
RUN apt autoremove -y && apt clean

# Delete doc directory as it is unneeded and heavy
RUN rm -r /usr/share/doc /root/.rustup/toolchains/1.77-$(uname -m)-unknown-linux-gnu/share/doc
RUN rm -r /usr/share/doc /root/.rustup/toolchains/${TOOLCHAIN_VERSION}-$(uname -m)-unknown-linux-gnu/share/doc

FROM scratch
COPY --from=base / /
Expand Down

0 comments on commit d86b9ac

Please sign in to comment.