Fix some paths in the Dockerfiles.

This commit is contained in:
Brendan Burns 2014-09-23 20:58:08 +00:00
parent 9c8ba8495d
commit 31f4aba785
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ FROM google/golang:latest
RUN mkdir -p /gopath/src/github.com/GoogleCloudPlatform/ && cd /gopath/src/github.com/GoogleCloudPlatform/ && \
git clone http://github.com/GoogleCloudPlatform/kubernetes && \
cd /gopath/src/github.com/GoogleCloudPlatform/kubernetes/examples/guestbook-go/src/ && \
cd /gopath/src/github.com/GoogleCloudPlatform/kubernetes/examples/guestbook-go/_src/ && \
go get && go build -o ../bin/guestbook && \
cp ./guestbook/Dockerfile /gopath/src/github.com/GoogleCloudPlatform/kubernetes/examples/guestbook-go/

View File

@ -1,9 +1,9 @@
FROM busybox:ubuntu-14.04
ADD ./bin/guestbook /app/guestbook
ADD ./src/public/index.html /app/public/index.html
ADD ./src/public/script.js /app/public/script.js
ADD ./src/public/style.css /app/public/style.css
ADD ./_src/public/index.html /app/public/index.html
ADD ./_src/public/script.js /app/public/script.js
ADD ./_src/public/style.css /app/public/style.css
WORKDIR /app
CMD ["./guestbook"]