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