Update Alpine to 3.14 and Drone server to 2.7.2.

This commit is contained in:
Stanislav Nikitin 2021-12-27 01:42:57 +05:00
parent 31937c2976
commit 0911bbf682
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
FROM golang:1.17.3-alpine as build
FROM golang:1.17.5-alpine as build
ENV DRONE_VERSION=2.5.0
ENV DRONE_VERSION=2.7.2
RUN apk add -U --no-cache ca-certificates git build-base
RUN mkdir -p /src/drone && \
@ -9,7 +9,7 @@ RUN mkdir -p /src/drone && \
git checkout -b v${DRONE_VERSION}
RUN cd /src/drone/cmd/drone-server && go build -tags "nolimit" -ldflags "-extldflags \"-static\"" -o drone-server
FROM alpine:3.11
FROM alpine:3.14
EXPOSE 80 443
VOLUME /data