-
Notifications
You must be signed in to change notification settings - Fork 9
/
Dockerfile
45 lines (32 loc) · 1.15 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# SPDX-FileCopyrightText: 2021 "SAP SE or an SAP affiliate company and Gardener contributors"
#
# SPDX-License-Identifier: Apache-2.0
#### BASE ####
FROM gcr.io/distroless/static-debian11:nonroot AS base
#### Landscaper Service controller ####
FROM base AS landscaper-service-controller
ARG TARGETOS
ARG TARGETARCH
WORKDIR /
COPY bin/landscaper-service-controller-$TARGETOS.$TARGETARCH /landscaper-service-controller
USER 65532:65532
WORKDIR /
ENTRYPOINT ["/landscaper-service-controller"]
#### Landscaper Service webhooks server ####
FROM base AS landscaper-service-webhooks-server
ARG TARGETOS
ARG TARGETARCH
WORKDIR /
COPY bin/landscaper-service-webhooks-server-$TARGETOS.$TARGETARCH /landscaper-service-webhooks-server
USER 65532:65532
WORKDIR /
ENTRYPOINT ["/landscaper-service-webhooks-server"]
#### Landscaper Target-shoot Sidecar server ####
FROM base AS landscaper-service-target-shoot-sidecar-server
ARG TARGETOS
ARG TARGETARCH
WORKDIR /
COPY bin/landscaper-service-target-shoot-sidecar-server-$TARGETOS.$TARGETARCH /landscaper-service-target-shoot-sidecar-server
USER 65532:65532
WORKDIR /
ENTRYPOINT ["/landscaper-service-target-shoot-sidecar-server"]