-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (15 loc) · 697 Bytes
/
Dockerfile
File metadata and controls
21 lines (15 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# SPDX-FileCopyrightText: 2020 SAP SE or an SAP affiliate company and Gardener contributors
#
# SPDX-License-Identifier: Apache-2.0
############# builder #############
FROM golang:1.25.1 AS builder
WORKDIR /go/src/github.com/gardener/machine-controller-manager-provider-openstack
COPY . .
RUN make install
############# base #############
FROM gcr.io/distroless/static-debian12:nonroot AS base
############# machine-controller-manager-provider-openstack #############
FROM base AS machine-controller
WORKDIR /
COPY --from=builder /go/bin/machine-controller /machine-controller
ENTRYPOINT ["/machine-controller"]