From e7f9017674d9badb025048fb73bfa39782016e5d Mon Sep 17 00:00:00 2001 From: Will Norris Date: Sat, 7 Oct 2017 03:07:07 +0000 Subject: [PATCH] dockerfile: use go 1.9 - setting myself as maintainer. I've played with docker enough at this point that I feel a bit more comfortable maintaining this - name the build image --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index b9e625e..66aafbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -FROM golang:1.8 -MAINTAINER Sevki +FROM golang:1.9 as build +MAINTAINER Will Norris WORKDIR /go/src/willnorris.com/go/imageproxy ADD . . @@ -12,9 +12,9 @@ FROM scratch WORKDIR /go/bin -COPY --from=0 /usr/share/zoneinfo /usr/share/zoneinfo -COPY --from=0 /etc/ssl/certs /etc/ssl/certs -COPY --from=0 /go/bin/imageproxy . +COPY --from=build /usr/share/zoneinfo /usr/share/zoneinfo +COPY --from=build /etc/ssl/certs /etc/ssl/certs +COPY --from=build /go/bin/imageproxy . CMD ["-addr", "0.0.0.0:8080"] ENTRYPOINT ["/go/bin/imageproxy"]