From 510c7e96a29ea0a8d352f076021de34b73a46bb4 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 10 Jan 2017 11:25:29 +0100 Subject: [PATCH] use confd from repo --- Dockerfile | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9d5be20..f395762 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,21 +1,6 @@ FROM quay.io/thallian/alpine-s6 -ENV VERSION=v0.12.0-alpha3 - -RUN apk add --no-cache go gcc musl-dev libressl tar git - -RUN mkdir -p /src/confd -RUN wget -qO- https://github.com/kelseyhightower/confd/archive/$VERSION.tar.gz | tar -xz -C /src/confd --strip 1 - -WORKDIR /src/confd -ENV GOPATH /src/confd/vendor:/src/confd -RUN go get -d -RUN go build -a -installsuffix cgo -x . -RUN mv ./confd /bin/ -RUN chmod +x /bin/confd - -RUN apk del go gcc musl-dev libressl tar git -RUN rm -rf /src +RUN apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted confd WORKDIR /