2018-02-01 21:06:39 +00:00
|
|
|
FROM alpine:3.7
|
2017-09-28 02:01:52 +00:00
|
|
|
EXPOSE 8000 9000 80 443
|
|
|
|
|
2017-09-28 02:04:58 +00:00
|
|
|
RUN apk add -U --no-cache ca-certificates
|
2017-09-28 02:01:52 +00:00
|
|
|
|
|
|
|
ENV DATABASE_DRIVER=sqlite3
|
|
|
|
ENV DATABASE_CONFIG=/var/lib/drone/drone.sqlite
|
|
|
|
ENV GODEBUG=netdns=go
|
|
|
|
ENV XDG_CACHE_HOME /var/lib/drone
|
|
|
|
|
|
|
|
ADD release/drone-server /bin/
|
|
|
|
|
|
|
|
ENTRYPOINT ["/bin/drone-server"]
|