0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-30 22:34:18 -05:00

docker: change go path

google's golang base image changed their gopath from /gopath to /go

fixes #51, fixes #52
This commit is contained in:
Sevki 2015-12-08 10:21:53 +01:00 committed by Will Norris
parent 87f06e8537
commit 710a2ab1c9

View file

@ -1,10 +1,10 @@
FROM google/golang FROM google/golang
MAINTAINER Sevki <s@sevki.org> MAINTAINER Sevki <s@sevki.org>
ADD . /gopath/src/willnorris.com/go/imageproxy ADD . /go/src/willnorris.com/go/imageproxy
RUN go get willnorris.com/go/imageproxy/cmd/imageproxy RUN go get willnorris.com/go/imageproxy/cmd/imageproxy
CMD [] CMD []
ENTRYPOINT ["/gopath/bin/imageproxy"] ENTRYPOINT ["/go/bin/imageproxy"]
EXPOSE 8080 EXPOSE 8080