Initial docker file.

This commit is contained in:
Oly 2019-10-11 11:44:05 +01:00
commit 70c2782455
1 changed files with 13 additions and 0 deletions

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM golang:latest
ARG VERSION=1.6.0
RUN wget "https://github.com/drone/drone/archive/v$VERSION.tar.gz"
RUN mkdir -p /go/src
RUN tar -xvf "v$VERSION.tar.gz"
WORKDIR "/go/drone-$VERSION/cmd/drone-server"
RUN go install -tags "oss nolimit"
CMD drone-server