mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 05:41:12 +00:00
12 lines
344 B
Bash
12 lines
344 B
Bash
|
# build environment used in .drone.yml
|
||
|
#
|
||
|
# docker build --rm=true -t drone/golang -f Dockerfile.env .
|
||
|
|
||
|
FROM gliderlabs/alpine:3.1
|
||
|
RUN apk update && apk add ca-certificates curl git mercurial bzr perl openssh go && rm -rf /var/cache/apk/*
|
||
|
|
||
|
ENV GOROOT /usr/lib/go
|
||
|
ENV GOPATH /drone
|
||
|
ENV GOBIN /drone/bin
|
||
|
ENV PATH $PATH:$GOROOT/bin:$GOPATH/bin
|