mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-09-19 04:06:18 +08:00
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:
@ -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
|
||||||
|
Reference in New Issue
Block a user