One RUN less

Align apk add commands between images.
This commit is contained in:
Patryk Krawaczyński 2021-10-15 21:18:31 +02:00 committed by GitHub
parent 9fd849d48b
commit 23458de588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,7 @@
FROM alpine:3.14 AS compiler FROM alpine:3.14 AS compiler
RUN apk update --quiet RUN apk update --quiet
RUN apk add curl RUN apk add -q --no-cache curl build-base
RUN apk add build-base
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y