mirror of https://github.com/gogs/gogs.git
docker: upgrade base images to alpine:3.17 (#7043)
parent
5c47ecfcb8
commit
9df10cb8cc
|
@ -1,4 +1,4 @@
|
||||||
FROM golang:alpine3.14 AS binarybuilder
|
FROM golang:alpine3.17 AS binarybuilder
|
||||||
RUN apk --no-cache --no-progress add --virtual \
|
RUN apk --no-cache --no-progress add --virtual \
|
||||||
build-deps \
|
build-deps \
|
||||||
build-base \
|
build-base \
|
||||||
|
@ -11,7 +11,7 @@ COPY . .
|
||||||
RUN ./docker/build/install-task.sh
|
RUN ./docker/build/install-task.sh
|
||||||
RUN TAGS="cert pam" task build
|
RUN TAGS="cert pam" task build
|
||||||
|
|
||||||
FROM alpine:3.14
|
FROM alpine:3.17
|
||||||
RUN apk --no-cache --no-progress add \
|
RUN apk --no-cache --no-progress add \
|
||||||
bash \
|
bash \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
|
Loading…
Reference in New Issue