Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
FROM resin/raspberrypi3-alpine-golang
RUN apk add -U --no-cache ca-certificates
RUN go get -u && \
go get -u && \
go get -u && \
go get -u && \
go get -u && \
go get && \
cd /go/src/
ENV DATABASE_CONFIG=/var/lib/drone/drone.sqlite
ENV XDG_CACHE_HOME /var/lib/drone
RUN go build -o /usr/bin/drone-server
EXPOSE 8000 9000 80 443
ENTRYPOINT ["/usr/bin/drone-server"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment