Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Refine Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
timuthy committed Feb 5, 2021
1 parent 90fc117 commit 8703f21
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,11 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go install \
-mod=vendor \
./...

############# base #############
FROM alpine:3.11.2 AS base

RUN apk add --update bash curl

WORKDIR /

############# cloud-provider-aws #############
FROM base AS cloud-provider-aws
FROM eu.gcr.io/gardener-project/3rd/alpine:3.12.3 AS cloud-provider-aws

COPY --from=builder /go/bin/aws-cloud-controller-manager /aws-cloud-controller-manager

WORKDIR /

ENTRYPOINT ["/aws-cloud-controller-manager"]

0 comments on commit 8703f21

Please sign in to comment.