generated from openmcp-project/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
45 lines (32 loc) · 1.22 KB
/
Dockerfile
File metadata and controls
45 lines (32 loc) · 1.22 KB
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-debian12:nonroot@sha256:a9329520abc449e3b14d5bc3a6ffae065bdde0f02667fa10880c49b35c109fd1 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"]