add drone

This commit is contained in:
Jessica Frazelle 2014-11-03 22:10:02 -08:00
parent fb6534efa7
commit 9eaf1b2261

20
drone/Dockerfile Normal file
View File

@ -0,0 +1,20 @@
FROM google/golang
ENV DRONE_SERVER_PORT :80
RUN apt-get update && apt-get -y install \
libsqlite3-dev \
sqlite3 \
zip \
--no-install-recommends
RUN git clone https://github.com/drone/drone.git /gopath/src/github.com/drone/drone
WORKDIR /gopath/src/github.com/drone/drone
RUN make deps build test embed install
EXPOSE 80
ENTRYPOINT ["/usr/local/bin/droned"]
CMD ["--config=/etc/drone/drone.toml"]