forked from gardener/gardener-extension-provider-openstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
22 lines (16 loc) · 753 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 golang:1.14.9 AS builder
WORKDIR /go/src/github.com/gardener/gardener-extension-provider-openstack
COPY . .
RUN make install
############# base
FROM alpine:3.12.0 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"]