mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
18 lines
484 B
Docker
18 lines
484 B
Docker
# Docker image for Drone's git-clone plugin
|
|
#
|
|
# docker build --rm=true -t drone/drone-build .
|
|
|
|
FROM library/golang:1.4
|
|
|
|
# copy the local package files to the container's workspace.
|
|
#ADD . /go/src/github.com/drone/drone-build/
|
|
|
|
# build the program inside the container.
|
|
#RUN go get github.com/drone/drone-build/... && \
|
|
# go install github.com/drone/drone-build
|
|
|
|
|
|
ADD drone-build /go/bin/
|
|
|
|
# run the git-clone plugin when the container starts
|
|
ENTRYPOINT ["/go/bin/drone-build"]
|