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:
parent
87f06e8537
commit
710a2ab1c9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue