harness-drone/Dockerfile

17 lines
462 B
Text
Raw Normal View History

2014-07-17 05:14:53 +00:00
# This is a Docker image for the Drone CI system.
# Use the following command to start the container:
# docker run -p 127.0.0.1:80:80 -t drone/drone
FROM google/golang
2014-10-12 03:48:24 +00:00
ENV DRONE_SERVER_PORT :80
2014-07-18 05:25:30 +00:00
2014-07-17 05:14:53 +00:00
ADD . /gopath/src/github.com/drone/drone/
WORKDIR /gopath/src/github.com/drone/drone
2014-10-12 03:48:24 +00:00
RUN apt-get update
RUN apt-get -y install zip libsqlite3-dev sqlite3 1> /dev/null 2> /dev/null
2015-01-16 05:35:38 +00:00
RUN make deps build embed install
2014-07-17 05:14:53 +00:00
EXPOSE 80
ENTRYPOINT ["/usr/local/bin/droned"]