You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dockerfile
+4-34Lines changed: 4 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
FROMdocker.io/library/alpine:edge AS builder
1
+
FROM alpine:edge AS builder
2
2
LABEL stage=go-builder
3
3
WORKDIR /app/
4
4
RUN apk add --no-cache bash curl jq gcc git go musl-dev
@@ -7,46 +7,16 @@ RUN go mod download
7
7
COPY ./ ./
8
8
RUN bash build.sh release docker
9
9
10
-
FROM alpine:edge
10
+
### Default image is base. You can add other support by modifying BASE_IMAGE_TAG. The following parameters are supported: base (default), aria2, ffmpeg, aio
11
+
ARG BASE_IMAGE_TAG=base
12
+
FROM openlistteam/openlist-base-image:${BASE_IMAGE_TAG}
0 commit comments