fix(ci):Move the build parameter BASE_IMAGE_TAG at the beginning of the file.

Signed-off-by: 我怎么就不是一只猫呢? <26274059+dezhishen@users.noreply.github.com>
This commit is contained in:
我怎么就不是一只猫呢?
2025-08-11 09:56:52 +08:00
committed by GitHub
parent 8c244a984d
commit dcdd54a6fc

View File

@ -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 FROM alpine:edge AS builder
LABEL stage=go-builder LABEL stage=go-builder
WORKDIR /app/ WORKDIR /app/
@ -7,8 +9,7 @@ RUN go mod download
COPY ./ ./ COPY ./ ./
RUN bash build.sh release docker 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} FROM openlistteam/openlist-base-image:${BASE_IMAGE_TAG}
ARG INSTALL_FFMPEG=false ARG INSTALL_FFMPEG=false