From f6739d6f91a9ebdc48612f15e32bb9ccc05bc61c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sat, 19 Nov 2022 03:50:33 +0800 Subject: update config --- core/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/Dockerfile') diff --git a/core/Dockerfile b/core/Dockerfile index e214cda..73d902c 100644 --- a/core/Dockerfile +++ b/core/Dockerfile @@ -7,7 +7,7 @@ FROM base AS builder ENV LANG C.UTF-8 ENV LC_ALL C.UTF-8 -RUN apk add --no-cache musl-dev build-base make gcc g++ libffi-dev git patch +RUN apk update && apk upgrade && apk add --no-cache musl-dev build-base make gcc g++ libffi-dev git patch ARG APP_DIR="/srv/app" ARG YT_REPO="https://git.sr.ht/~heckyel/yt-local" @@ -26,7 +26,7 @@ COPY 0001.patch "$APP_DIR/0001.patch" RUN patch -Np1 -i "$APP_DIR/0001.patch" # clean -RUN rm -f "$APP_DIR/0001.patch" +RUN rm -f "$APP_DIR/0001.patch" && apk del git patch # Runtime Environment Image FROM base -- cgit v1.2.3