mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Fix some paths in the Dockerfiles.
This commit is contained in:
parent
9c8ba8495d
commit
31f4aba785
@ -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/
|
||||
|
||||
|
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user