From 9eaf1b22616310295ae96ea4ebc36fd4d10e4a2e Mon Sep 17 00:00:00 2001 From: Jessica Frazelle Date: Mon, 3 Nov 2014 22:10:02 -0800 Subject: [PATCH] add drone --- drone/Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 drone/Dockerfile diff --git a/drone/Dockerfile b/drone/Dockerfile new file mode 100644 index 0000000..d2979cc --- /dev/null +++ b/drone/Dockerfile @@ -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"]