2016-08-14 04:25:45 +00:00
|
|
|
# docker build --rm -t drone/drone .
|
2015-06-05 17:38:01 +00:00
|
|
|
|
2017-09-11 23:03:11 +00:00
|
|
|
FROM drone/ca-certs
|
2017-06-28 17:21:22 +00:00
|
|
|
EXPOSE 8000 9000 80 443
|
2015-05-18 17:05:58 +00:00
|
|
|
|
2015-10-20 23:44:36 +00:00
|
|
|
ENV DATABASE_DRIVER=sqlite3
|
|
|
|
ENV DATABASE_CONFIG=/var/lib/drone/drone.sqlite
|
2016-06-03 18:47:05 +00:00
|
|
|
ENV GODEBUG=netdns=go
|
2017-04-29 17:46:36 +00:00
|
|
|
ENV XDG_CACHE_HOME /var/lib/drone
|
2015-10-20 23:44:36 +00:00
|
|
|
|
2017-06-29 22:51:22 +00:00
|
|
|
ADD release/drone-server /bin/
|
2016-04-13 00:27:24 +00:00
|
|
|
|
2017-06-29 22:51:22 +00:00
|
|
|
ENTRYPOINT ["/bin/drone-server"]
|