Skip to content
Merged
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
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
ARG BUILD_IMAGE=gradle:7.4-jdk17
ARG RUN_IMAGE=quay.io/wildfly/wildfly:26.1.3.Final-jdk17
ARG ORACLE_DRIVER_PATH=/ojdbc11-21.7.0.0.jar
Expand Down Expand Up @@ -26,7 +27,8 @@ RUN mkdir /unicopy \
&& cp /app/config/docker-server.env /unicopy \
&& cp /app/scripts/TestOracleConnection.java /unicopy \
&& cp /app/scripts/TestMariadbConnection.java /unicopy \
&& cp /app/scripts/docker-entrypoint.sh /unicopy \
&& cp /app/scripts/container-entrypoint.sh /unicopy \
&& cp /app/scripts/container-healthcheck.sh /unicopy \
&& cp /app/scripts/server-setup.sh /unicopy \
&& cp /app/scripts/provided-setup.sh /unicopy \
&& cp /app/scripts/app-setup.sh /unicopy \
Expand All @@ -45,7 +47,8 @@ RUN /update-certs-runner.sh ${CUSTOM_CRT_URL} \
&& chsh -s /bin/bash jboss \
&& /server-setup.sh /docker-server.env \
&& rm -rf /opt/jboss/wildfly/standalone/configuration/standalone_xml_history
ENTRYPOINT ["/docker-entrypoint.sh"]
ENTRYPOINT ["/container-entrypoint.sh"]
ENV ORACLE_DRIVER_PATH=$ORACLE_DRIVER_PATH
ENV MARIADB_DRIVER_PATH=$MARIADB_DRIVER_PATH
USER ${RUN_USER}
USER ${RUN_USER}
HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --start-interval=5s --retries=5 CMD /container-healthcheck.sh
8 changes: 8 additions & 0 deletions build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
services:
wildfly:
extends:
file: compose.yaml
service: wildfly
build:
context: .
dockerfile: Dockerfile
3 changes: 3 additions & 0 deletions compose.override.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
services:
keycloak:
image: jeffersonlab/wildfly:1.5.0
8 changes: 8 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
services:
wildfly:
hostname: wildfly
container_name: wildfly
ports:
- 8443:8443
- 8080:8080
- 9990:9990
File renamed without changes.
3 changes: 3 additions & 0 deletions scripts/container-healthcheck.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

curl http://localhost:8080 -sf -o /dev/null