From 18c50f966999b58d00caf91fec07ca55def617e0 Mon Sep 17 00:00:00 2001 From: naskya Date: Thu, 7 Mar 2024 20:24:39 +0900 Subject: [PATCH] container: add --no-cache option to apk add --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1ab0c9a7db..df54502a9d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . ./