-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (18 loc) · 696 Bytes
/
Dockerfile
File metadata and controls
22 lines (18 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#IMAGE: Get the base image for Liberty
FROM websphere-liberty:webProfile7
#BINARIES: Add in all necessary application binaries
COPY src/main/wlp/server.xml /config
ADD target/GetStartedJava.war /opt/ibm/wlp/usr/servers/defaultServer/apps
# Added Derby Type 4 JDBC driver
RUN mkdir /opt/ibm/wlp/usr/shared/resources/derby
COPY docker/liberty/derbyclient.jar /opt/ibm/wlp/usr/shared/resources/derby/
#FEATURES: Install any features that are required
RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
RUN /opt/ibm/wlp/bin/installUtility install --acceptLicense \
jsp-2.3 \
servlet-3.1 \
jndi-1.0 \
jdbc-4.2 \
jaxrs-2.0 \
jpa-2.1; exit 0