Skip to content

Commit

Permalink
dockerfile: use go 1.9
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
willnorris committed Oct 7, 2017
1 parent 837e723 commit e7f9017
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM golang:1.8
MAINTAINER Sevki <s@sevki.org>
FROM golang:1.9 as build
MAINTAINER Will Norris <will@willnorris.com>

WORKDIR /go/src/willnorris.com/go/imageproxy
ADD . .
Expand All @@ -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"]
Expand Down

0 comments on commit e7f9017

Please sign in to comment.