forked from gardener/gardener-extension-provider-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
22 lines (16 loc) · 718 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
############# builder
FROM eu.gcr.io/gardener-project/3rd/golang:1.15.3 AS builder
WORKDIR /go/src/github.com/gardener/gardener-extension-provider-aws
COPY . .
RUN make install
############# base
FROM alpine:3.12.1 AS base
############# gardener-extension-provider-aws
FROM base AS gardener-extension-provider-aws
COPY charts /charts
COPY --from=builder /go/bin/gardener-extension-provider-aws /gardener-extension-provider-aws
ENTRYPOINT ["/gardener-extension-provider-aws"]
############# gardener-extension-validator-aws
FROM base AS gardener-extension-validator-aws
COPY --from=builder /go/bin/gardener-extension-validator-aws /gardener-extension-validator-aws
ENTRYPOINT ["/gardener-extension-validator-aws"]