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

Commit

Permalink
Dockerfile: use the name of the project as working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
neolit123 committed Jun 22, 2019
1 parent 6372508 commit c11843e
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/[email protected]
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 c11843e

Please sign in to comment.