From dcdd54a6fc0b2ee86cebe30a4611b4421e38cb84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=91=E6=80=8E=E4=B9=88=E5=B0=B1=E4=B8=8D=E6=98=AF?= =?UTF-8?q?=E4=B8=80=E5=8F=AA=E7=8C=AB=E5=91=A2=3F?= <26274059+dezhishen@users.noreply.github.com> Date: Mon, 11 Aug 2025 09:56:52 +0800 Subject: [PATCH] fix(ci):Move the build parameter BASE_IMAGE_TAG at the beginning of the file. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 我怎么就不是一只猫呢? <26274059+dezhishen@users.noreply.github.com> --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 77d01149..3b3b22fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,5 @@ +### Default image is base. You can add other support by modifying BASE_IMAGE_TAG. The following parameters are supported: base (default), aria2, ffmpeg, aio +ARG BASE_IMAGE_TAG=base FROM alpine:edge AS builder LABEL stage=go-builder WORKDIR /app/ @@ -7,8 +9,7 @@ RUN go mod download COPY ./ ./ RUN bash build.sh release docker -### Default image is base. You can add other support by modifying BASE_IMAGE_TAG. The following parameters are supported: base (default), aria2, ffmpeg, aio -ARG BASE_IMAGE_TAG=base + FROM openlistteam/openlist-base-image:${BASE_IMAGE_TAG} ARG INSTALL_FFMPEG=false