mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-12 04:23:04 +02:00
24 lines
389 B
Docker
24 lines
389 B
Docker
|
#
|
||
|
# Dockerfile for drone-arm
|
||
|
#
|
||
|
|
||
|
FROM easypi/alpine-arm
|
||
|
MAINTAINER EasyPi Software Foundation
|
||
|
|
||
|
RUN apk add --no-cache ca-certificates
|
||
|
|
||
|
ADD drone /drone
|
||
|
|
||
|
ENV DATABASE_DRIVER=sqlite3 \
|
||
|
DATABASE_CONFIG=/var/lib/drone/drone.sqlite \
|
||
|
GODEBUG=netdns=go \
|
||
|
XDG_CACHE_HOME=/var/lib/drone
|
||
|
|
||
|
VOLUME $XDG_CACHE_HOME
|
||
|
WORKDIR $XDG_CACHE_HOME
|
||
|
|
||
|
EXPOSE 8000
|
||
|
|
||
|
ENTRYPOINT ["/drone"]
|
||
|
CMD ["server"]
|