Skip to content

Commit

Permalink
Rollback base image to ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
lichuqiang committed May 22, 2018
1 parent b2722c7 commit e4f95e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/kubebuilder/initproject/dockerfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o controller-manager ./cm
RUN go test ./pkg/... ./cmd/...
# Copy the controller-manager into a thin image
FROM scratch
FROM ubuntu:latest
# RUN apk --no-cache add ca-certificates
WORKDIR /root/
COPY --from=builder /go/src/{{ .Repo }}/controller-manager .
Expand Down
2 changes: 1 addition & 1 deletion samples/memcached-api-server/Dockerfile.controller
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o controller-manager ./cm
RUN go test ./pkg/... ./cmd/...

# Copy the controller-manager into a thin image
FROM scratch
FROM ubuntu:latest
# RUN apk --no-cache add ca-certificates
WORKDIR /root/
COPY --from=builder /go/src/github.com/kubernetes-sigs/kubebuilder/samples/memcached-api-server/controller-manager .
Expand Down

0 comments on commit e4f95e9

Please sign in to comment.