Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
spew authored Apr 17, 2018
2 parents 297df04 + 3799ce2 commit 56ec248
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cloud/google/cmd/gce-machine-controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

# Reproducible builder image
FROM golang:1.10.0 as builder
WORKDIR /go/src/k8s.io/kube-deploy/cluster-api
WORKDIR /go/src/sigs.k8s.io/cluster-api
# This expects that the context passed to the docker build command is
# the cluster-api directory.
# e.g. docker build -t <tag> -f <this_Dockerfile> <path_to_cluster-api>
COPY . .

RUN CGO_ENABLED=0 GOOS=linux go install -a -ldflags '-extldflags "-static"' k8s.io/kube-deploy/cluster-api/cloud/google/cmd/gce-machine-controller
RUN CGO_ENABLED=0 GOOS=linux go install -a -ldflags '-extldflags "-static"' sigs.k8s.io/cluster-api/cloud/google/cmd/gce-machine-controller

# Final container
FROM alpine:3.7
Expand Down
4 changes: 2 additions & 2 deletions cmd/apiserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

# Reproducible builder image
FROM golang:1.10.0 as builder
WORKDIR /go/src/k8s.io/kube-deploy/cluster-api
WORKDIR /go/src/sigs.k8s.io/cluster-api
# This expects that the context passed to the docker build command is
# the cluster-api directory.
# e.g. docker build -t <tag> -f <this_Dockerfile> <path_to_cluster-api>
COPY . .

RUN CGO_ENABLED=0 GOOS=linux go install -a -ldflags '-extldflags "-static"' k8s.io/kube-deploy/cluster-api/cmd/apiserver
RUN CGO_ENABLED=0 GOOS=linux go install -a -ldflags '-extldflags "-static"' sigs.k8s.io/cluster-api/cmd/apiserver

# Final container
FROM alpine:3.7
Expand Down
4 changes: 2 additions & 2 deletions cmd/controller-manager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

# Reproducible builder image
FROM golang:1.10.0 as builder
WORKDIR /go/src/k8s.io/kube-deploy/cluster-api
WORKDIR /go/src/sigs.k8s.io/cluster-api
# This expects that the context passed to the docker build command is
# the cluster-api directory.
# e.g. docker build -t <tag> -f <this_Dockerfile> <path_to_cluster-api>
COPY . .

RUN CGO_ENABLED=0 GOOS=linux go install -a -ldflags '-extldflags "-static"' k8s.io/kube-deploy/cluster-api/cmd/controller-manager
RUN CGO_ENABLED=0 GOOS=linux go install -a -ldflags '-extldflags "-static"' sigs.k8s.io/cluster-api/cmd/controller-manager

# Final container
FROM alpine:3.7
Expand Down
2 changes: 2 additions & 0 deletions gcp-deployer/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
gcp-deployer
machines.yaml

0 comments on commit 56ec248

Please sign in to comment.