container: add --no-cache option to apk add
This commit is contained in:
parent
905cc665f8
commit
18c50f9669
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ FROM docker.io/node:20-alpine as build
|
|||
WORKDIR /firefish
|
||||
|
||||
# Install compilation dependencies
|
||||
RUN apk update && apk add build-base curl ca-certificates python3
|
||||
RUN apk update && apk add --no-cache build-base curl ca-certificates python3
|
||||
RUN curl --proto '=https' --tlsv1.2 --silent --show-error --fail https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
|
||||
|
@ -48,7 +48,7 @@ FROM docker.io/node:20-alpine
|
|||
WORKDIR /firefish
|
||||
|
||||
# Install runtime dependencies
|
||||
RUN apk update && apk add zip unzip tini ffmpeg
|
||||
RUN apk update && apk add --no-cache zip unzip tini ffmpeg
|
||||
|
||||
COPY . ./
|
||||
|
||||
|
|
Loading…
Reference in a new issue