Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenLiberty updates & improvements #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions openliberty-kernel/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
FROM airhacks/java
LABEL maintainer="Tobias N. Sasse, @tnsasse and Adam Bien, adam-bien.com" description="OpenLiberty Kernel"
ENV RELEASE 2017-09-16_2214
ENV VERSION 17.0.0.3-RC
ENV VERSION 17.0.0.3
ENV SHA 528e393e0b240ebbedb91d25402e22297c6d56ec

ENV INSTALL_DIR /opt/ibm

# Download OpenLiberty
ENV OPENLIBERTY_HOME ${INSTALL_DIR}/openliberty-${VERSION}
ENV DEPLOYMENT_DIR ${OPENLIBERTY_HOME}/standalone/deployments/
RUN curl -O https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/release/${RELEASE}/openliberty-${VERSION}.zip \
&& unzip openliberty-${VERSION}.zip -d ${INSTALL_DIR} \
&& rm openliberty-${VERSION}.zip
RUN curl -O https://repo1.maven.org/maven2/io/openliberty/openliberty-runtime/${VERSION}/openliberty-runtime-${VERSION}.zip \
&& echo "$SHA openliberty-runtime-${VERSION}.zip" > openliberty-runtime-${VERSION}.zip.sha1 \
&& sha1sum -c openliberty-runtime-${VERSION}.zip.sha1 \
&& unzip -q openliberty-runtime-${VERSION}.zip -d ${INSTALL_DIR} \
&& rm openliberty-runtime-${VERSION}.zip \
&& rm openliberty-runtime-${VERSION}.zip.sha1

ENV PATH=/opt/ibm/wlp/bin:$PATH

# Set Path Shortcuts
Expand Down
2 changes: 1 addition & 1 deletion openliberty-microprofile-ping/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM airhacks/openliberty-microprofile
LABEL maintainer="Tobias N. Sasse, @tnsasse and Adam Bien, adam-bien.com" description="OpenLiberty MicroProfile with ping healthcheck: https://github.com/adambien/ping"
ENV DEPLOYMENT_DIR /config/dropins/

COPY ping.war ${DEPLOYMENT_DIR}
2 changes: 2 additions & 0 deletions openliberty-microprofile/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
FROM airhacks/openliberty-kernel
LABEL maintainer="Tobias N. Sasse, @tnsasse and Adam Bien, adam-bien.com" description="Microprofile configuration"

ENV DEPLOYMENT_DIR /config/dropins/
COPY server.xml /config/
2 changes: 1 addition & 1 deletion openliberty-webprofile7-ping/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM airhacks/openliberty-webprofile7
LABEL maintainer="Tobias N. Sasse, @tnsasse and Adam Bien, adam-bien.com" description="OpenLiberty Java EE 7 WebProfile with ping healthcheck: https://github.com/adambien/ping"
ENV DEPLOYMENT_DIR /config/dropins/

COPY ping.war ${DEPLOYMENT_DIR}
2 changes: 2 additions & 0 deletions openliberty-webprofile7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
FROM airhacks/openliberty-kernel
LABEL maintainer="Tobias N. Sasse, @tnsasse and Adam Bien, adam-bien.com" description="OpenLiberty Java EE 7 WebProfile"

ENV DEPLOYMENT_DIR /config/dropins/
COPY server.xml /config/