forked from gardener/gardener-extension-provider-openstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
22 lines (16 loc) · 815 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.7 AS builder
WORKDIR /go/src/github.com/gardener/gardener-extension-provider-openstack
COPY . .
RUN make install
############# base
FROM eu.gcr.io/gardener-project/3rd/alpine:3.12.3 AS base
############# gardener-extension-provider-openstack
FROM base AS gardener-extension-provider-openstack
COPY charts /charts
COPY --from=builder /go/bin/gardener-extension-provider-openstack /gardener-extension-provider-openstack
ENTRYPOINT ["/gardener-extension-provider-openstack"]
############# gardener-extension-validator-openstack
FROM base AS gardener-extension-validator-openstack
COPY --from=builder /go/bin/gardener-extension-validator-openstack /gardener-extension-validator-openstack
ENTRYPOINT ["/gardener-extension-validator-openstack"]