diff --git a/Dockerfile b/Dockerfile index a7f31fe..539fb4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ FROM code.pztrn.name/containers/mirror/golang:1.18.3-alpine as build -ENV DRONE_VERSION=2.12.0 +ENV DRONE_VERSION=2.12.1 RUN apk add -U --no-cache ca-certificates git build-base RUN mkdir -p /src/drone && \ cd /src/drone && \ - git clone https://github.com/drone/drone . && \ + git clone https://github.com/harness/drone . && \ git checkout -b v${DRONE_VERSION} RUN cd /src/drone/cmd/drone-server && go build -tags "nolimit" -ldflags "-extldflags \"-static\"" -o drone-server