-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathDockerfile
27 lines (22 loc) · 946 Bytes
/
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
#
# Copyright (c) 2019, 2023, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at
# http://oss.oracle.com/licenses/upl.
#
ARG BASE_IMAGE=scratch
FROM $BASE_IMAGE
ARG target
ARG version
ARG coherence_image
ARG operator_image
LABEL "com.oracle.coherence.application"="operator"
LABEL "com.oracle.coherence.version"="$version"
LABEL "org.opencontainers.image.description"="The Oracle Coherece Kubernetes Operator image ($target)"
LABEL "org.opencontainers.image.source"="https://github.com/oracle/coherence-operator"
ENV COHERENCE_IMAGE=$coherence_image \
OPERATOR_IMAGE=$operator_image
COPY bin/linux/$target/* /files/
COPY java/coherence-operator/target/docker/lib/*.jar /files/lib/
COPY java/coherence-operator/target/docker/logging/logging.properties /files/logging/logging.properties
ENTRYPOINT ["/files/runner"]
CMD ["-h"]