Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Commit

Permalink
Merge pull request #10 from neolit123/fix-docker-file
Browse files Browse the repository at this point in the history
Dockerfile: use the name of the project as working directory
  • Loading branch information
k8s-ci-robot authored Jun 24, 2019
2 parents 6372508 + c11843e commit 1676740
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

FROM golang:1.12.5
WORKDIR /cluster-api-upgrade-tool
WORKDIR /cluster-api-provider-docker
ADD go.mod .
ADD go.sum .
RUN go mod download
Expand All @@ -29,7 +29,7 @@ RUN GO111MODULE="on" go get sigs.k8s.io/kind@v0.3.0
RUN curl https://get.docker.com | sh

FROM golang:1.12.5
COPY --from=0 /cluster-api-upgrade-tool/kubernetes/client/bin/kubectl /usr/local/bin
COPY --from=0 /cluster-api-provider-docker/kubernetes/client/bin/kubectl /usr/local/bin
COPY --from=0 /go/bin/capd-manager /usr/local/bin
COPY --from=0 /go/bin/kind /usr/local/bin
COPY --from=0 /usr/bin/docker /usr/local/bin
Expand Down

0 comments on commit 1676740

Please sign in to comment.