diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..2185dfb --- /dev/null +++ b/.drone.yml @@ -0,0 +1,8 @@ +pipeline: + docker: + image: plugins/docker + cache_from: ["shimun/mumble"] + use_cache: true + repo: shimun/mumble + secrets: ["docker_username", "docker_password"] + diff --git a/Dockerfile b/Dockerfile index 43b6d8e..6457b2a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ -FROM alpine:latest +FROM phlak/mumble -RUN apk update && \ - apk add --no-cache murmur qt-mysql netcat-openbsd wget bash -RUN wget --no-check-certificate -O /usr/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.0.1/dumb-init_1.0.1_amd64 +USER root + +RUN apk add --no-cache qt-mysql netcat-openbsd wget bash +ADD https://github.com/Yelp/dumb-init/releases/download/v1.0.1/dumb-init_1.0.1_amd64 /usr/bin/dumb-init COPY murmur.conf /etc/murmur.conf COPY init.sh /usr/bin/init.sh