From 1b9e8558345f139c4a05a3d48c13a274b3737015 Mon Sep 17 00:00:00 2001 From: shim_ <> Date: Sun, 11 Nov 2018 15:36:52 +0100 Subject: [PATCH] refractored build process --- .drone.yml | 8 ++++++++ Dockerfile | 9 +++++---- 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .drone.yml 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