mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 01:10:31 +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"]
|