woodpecker/Dockerfile

20 lines
423 B
Docker
Raw Normal View History

2015-09-30 01:21:17 +00:00
# Build the drone executable on a x64 Linux host:
#
# go build --ldflags '-extldflags "-static"' -o drone_static
#
#
# Alternate command for Go 1.4 and older:
#
# go build -a -tags netgo --ldflags '-extldflags "-static"' -o drone_static
#
#
# Build the docker image:
#
# docker build --rm=true -t drone/drone .
2015-09-30 01:21:17 +00:00
FROM centurylink/ca-certs
EXPOSE 8080
2015-05-18 17:05:58 +00:00
2015-09-30 01:21:17 +00:00
ADD drone_static /drone_static
2015-09-30 01:21:17 +00:00
ENTRYPOINT ["/drone_static"]