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