-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (18 loc) · 778 Bytes
/
Copy pathDockerfile
File metadata and controls
21 lines (18 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM websphere-liberty:microProfile
MAINTAINER IBM Java engineering at IBM Cloud
COPY /target/liberty/wlp/usr/servers/defaultServer /config/
#COPY /target/liberty/wlp/usr/shared/resources /config/resources/
#COPY /src/main/liberty/config/jvmbx.options /config/jvm.options
# Install required features if not present, install APM Data Collector
## Copy in portfolio prereqs:
COPY lib/db2jcc4.jar /config/db2jcc4.jar
COPY lib/wmq.jmsra.rar /config/wmq.jmsra.rar
RUN installUtility install --acceptLicense defaultServer
# Upgrade to production license if URL to JAR provided
ARG LICENSE_JAR_URL
RUN \
if [ $LICENSE_JAR_URL ]; then \
wget $LICENSE_JAR_URL -O /tmp/license.jar \
&& java -jar /tmp/license.jar -acceptLicense /opt/ibm \
&& rm /tmp/license.jar; \
fi