Fixed Dockerfile

This commit is contained in:
Michael Mayer 2018-08-15 13:00:40 +02:00
parent db949a08d9
commit fdbd53c7e0

View File

@ -76,7 +76,7 @@ RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
# Install dependencies
RUN go get github.com/tensorflow/tensorflow/tensorflow/go \
github.com/tensorflow/tensorflow/tensorflow/go/op \
github.com/julienschmidt/httproutergovendor add +external
github.com/julienschmidt/httprouter
# Download InceptionV3 model
RUN mkdir -p /model && \
@ -84,6 +84,8 @@ RUN mkdir -p /model && \
unzip /model/inception.zip -d /model && \
chmod -R 777 /model
RUN go get -u github.com/kardianos/govendor
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
RUN mkdir -m 777 /go/pkg/dep