Commit 77c8c26e authored by Jack Greenfield's avatar Jack Greenfield

Merge pull request #130 from jackgr/simplify-dockerfiles

Simplify Dockerfiles.
parents 7480f215 7c0e018f
...@@ -30,20 +30,7 @@ COPY version version ...@@ -30,20 +30,7 @@ COPY version version
WORKDIR "$GOPATH" WORKDIR "$GOPATH"
RUN mkdir -p src/github.com/kubernetes/deployment-manager \ RUN mkdir -p "$GOPATH/src/github.com" && chmod 777 "$GOPATH/src/github.com"
&& chmod 777 src/github.com/kubernetes/deployment-manager
RUN mkdir -p src/github.com/kubernetes/deployment-manager/manager \
&& chmod 777 src/github.com/kubernetes/deployment-manager/manager
COPY manager src/github.com/kubernetes/deployment-manager/manager
RUN mkdir -p src/github.com/kubernetes/deployment-manager/util \
&& chmod 777 src/github.com/kubernetes/deployment-manager/util
COPY util src/github.com/kubernetes/deployment-manager/util
RUN mkdir -p src/github.com/kubernetes/deployment-manager/version \
&& chmod 777 src/github.com/kubernetes/deployment-manager/version
COPY version src/github.com/kubernetes/deployment-manager/version
RUN go-wrapper download github.com/kubernetes/deployment-manager/manager/... RUN go-wrapper download github.com/kubernetes/deployment-manager/manager/...
RUN go-wrapper install github.com/kubernetes/deployment-manager/manager/... RUN go-wrapper install github.com/kubernetes/deployment-manager/manager/...
......
...@@ -34,28 +34,7 @@ RUN apt-get purge -y --auto-remove wget ...@@ -34,28 +34,7 @@ RUN apt-get purge -y --auto-remove wget
WORKDIR "$GOPATH" WORKDIR "$GOPATH"
RUN mkdir -p src/github.com/kubernetes/deployment-manager \ RUN mkdir -p "$GOPATH/src/github.com" && chmod 777 "$GOPATH/src/github.com"
&& chmod 777 src/github.com/kubernetes/deployment-manager
RUN mkdir -p src/github.com/kubernetes/deployment-manager/expandybird \
&& chmod 777 src/github.com/kubernetes/deployment-manager/expandybird
COPY expandybird src/github.com/kubernetes/deployment-manager/expandybird
RUN mkdir -p src/github.com/kubernetes/deployment-manager/manager \
&& chmod 777 src/github.com/kubernetes/deployment-manager/manager
COPY manager src/github.com/kubernetes/deployment-manager/manager
RUN mkdir -p src/github.com/kubernetes/deployment-manager/resourcifier \
&& chmod 777 src/github.com/kubernetes/deployment-manager/resourcifier
COPY resourcifier src/github.com/kubernetes/deployment-manager/resourcifier
RUN mkdir -p src/github.com/kubernetes/deployment-manager/util \
&& chmod 777 src/github.com/kubernetes/deployment-manager/util
COPY util src/github.com/kubernetes/deployment-manager/util
RUN mkdir -p src/github.com/kubernetes/deployment-manager/version \
&& chmod 777 src/github.com/kubernetes/deployment-manager/version
COPY version src/github.com/kubernetes/deployment-manager/version
RUN go-wrapper download github.com/kubernetes/deployment-manager/resourcifier/... RUN go-wrapper download github.com/kubernetes/deployment-manager/resourcifier/...
RUN go-wrapper install github.com/kubernetes/deployment-manager/resourcifier/... RUN go-wrapper install github.com/kubernetes/deployment-manager/resourcifier/...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment