forked from oracle/weblogic-kubernetes-operator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
33 lines (27 loc) · 926 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
28
29
30
31
32
33
# Copyright 2017, 2018, Oracle Corporation and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#
# HOW TO BUILD THIS IMAGE
# -----------------------
# Run:
# $ docker build -t weblogic-kubernetes-operator:latest .
#
# Pull base image
# From the Docker store
# -------------------------
FROM openjdk:11-oracle
RUN yum -y install openssl && yum clean all
# Maintainer
# ----------
MAINTAINER Ryan Eberhard <[email protected]>
RUN mkdir /operator
RUN mkdir /operator/lib
ENV PATH=$PATH:/operator
ARG VERSION
COPY src/scripts/* /operator/
COPY operator/target/weblogic-kubernetes-operator-$VERSION.jar /operator/weblogic-kubernetes-operator.jar
COPY operator/target/lib/*.jar /operator/lib/
HEALTHCHECK --interval=1m --timeout=10s \
CMD /operator/livenessProbe.sh
WORKDIR /operator/
CMD ["/operator/operator.sh"]