From 857cca36f58fe6ea27a0f3f3d0085413025174fe Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 10 Jan 2017 11:19:20 +0100 Subject: [PATCH] use my own base image with alpine 3.5 --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a2613e0..9d5be20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM smebberson/alpine-base:latest +FROM quay.io/thallian/alpine-s6 ENV VERSION=v0.12.0-alpha3 -RUN apk add --no-cache go gcc musl-dev openssl tar git +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 @@ -10,11 +10,11 @@ RUN wget -qO- https://github.com/kelseyhightower/confd/archive/$VERSION.tar.gz | WORKDIR /src/confd ENV GOPATH /src/confd/vendor:/src/confd RUN go get -d -RUN go build -a -installsuffix cgo -ldflags '-extld ld -extldflags -static' -x . +RUN go build -a -installsuffix cgo -x . RUN mv ./confd /bin/ RUN chmod +x /bin/confd -RUN apk del go gcc musl-dev openssl tar git +RUN apk del go gcc musl-dev libressl tar git RUN rm -rf /src WORKDIR /