mirror of
https://github.com/bitnami/containers.git
synced 2026-03-07 10:07:20 +08:00
17.0.0-ol-7-r0 release
This commit is contained in:
36
bitnami/wildfly/17/ol-7/Dockerfile
Normal file
36
bitnami/wildfly/17/ol-7/Dockerfile
Normal file
@@ -0,0 +1,36 @@
|
||||
FROM bitnami/oraclelinux-extras:7-r365
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
||||
BITNAMI_PKG_EXTRA_DIRS="/home/wildfly" \
|
||||
HOME="/"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages glibc libaio libgcc
|
||||
RUN bitnami-pkg install java-1.8.212-0 --checksum 7d11dad71234819fb290bcadc2997bda088ba6b21f245d397c068de4cf3757db
|
||||
RUN bitnami-pkg unpack wildfly-17.0.0-0 --checksum 1d9d4a05aceb5e2754965e79c8b9655ccc9dcafc171908ecaf856c5280d54989
|
||||
RUN ln -sf /opt/bitnami/wildfly/data /app
|
||||
|
||||
COPY rootfs /
|
||||
ENV BITNAMI_APP_NAME="wildfly" \
|
||||
BITNAMI_IMAGE_VERSION="17.0.0-ol-7-r0" \
|
||||
NAMI_PREFIX="/.nami" \
|
||||
PATH="/opt/bitnami/java/bin:/opt/bitnami/wildfly/bin:$PATH" \
|
||||
WILDFLY_HOME="/home/wildfly" \
|
||||
WILDFLY_JAVA_HOME="" \
|
||||
WILDFLY_JAVA_OPTS="" \
|
||||
WILDFLY_MANAGEMENT_HTTP_PORT_NUMBER="9990" \
|
||||
WILDFLY_PASSWORD="bitnami" \
|
||||
WILDFLY_PUBLIC_CONSOLE="true" \
|
||||
WILDFLY_SERVER_AJP_PORT_NUMBER="8009" \
|
||||
WILDFLY_SERVER_HTTP_PORT_NUMBER="8080" \
|
||||
WILDFLY_SERVER_INTERFACE="0.0.0.0" \
|
||||
WILDFLY_USERNAME="user" \
|
||||
WILDFLY_WILDFLY_HOME="/home/wildfly" \
|
||||
WILDFLY_WILDFLY_OPTS="-Dwildfly.as.deployment.ondemand=false"
|
||||
|
||||
EXPOSE 8080 9990
|
||||
|
||||
USER 1001
|
||||
ENTRYPOINT [ "/app-entrypoint.sh" ]
|
||||
CMD [ "/run.sh" ]
|
||||
16
bitnami/wildfly/17/ol-7/docker-compose.yml
Normal file
16
bitnami/wildfly/17/ol-7/docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
wildfly:
|
||||
image: 'bitnami/wildfly:17-ol-7'
|
||||
ports:
|
||||
- '8080:8080'
|
||||
- '9990:9990'
|
||||
volumes:
|
||||
- 'wildfly_data:/bitnami'
|
||||
environment:
|
||||
- WILDFLY_PASSWORD=password
|
||||
|
||||
volumes:
|
||||
wildfly_data:
|
||||
driver: local
|
||||
13
bitnami/wildfly/17/ol-7/rootfs/app-entrypoint.sh
Executable file
13
bitnami/wildfly/17/ol-7/rootfs/app-entrypoint.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
. /opt/bitnami/base/helpers
|
||||
|
||||
print_welcome_page
|
||||
|
||||
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/run.sh" ]]; then
|
||||
nami_initialize wildfly
|
||||
info "Starting wildfly... "
|
||||
fi
|
||||
|
||||
exec tini -- "$@"
|
||||
18
bitnami/wildfly/17/ol-7/rootfs/run.sh
Executable file
18
bitnami/wildfly/17/ol-7/rootfs/run.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
. /opt/bitnami/base/helpers
|
||||
|
||||
USER="wildfly"
|
||||
DAEMON="standalone.sh"
|
||||
EXEC=$(which $DAEMON)
|
||||
START_COMMAND="${EXEC} ${WILDFLY_WILDFLY_OPTS:-} > /opt/bitnami/wildfly/logs/wildfly.out"
|
||||
|
||||
ln -sf /dev/stdout /opt/bitnami/wildfly/logs/wildfly.out
|
||||
|
||||
# If container is started as `root` user
|
||||
if [ $EUID -eq 0 ]; then
|
||||
exec gosu "${USER}" bash -c "${START_COMMAND}"
|
||||
else
|
||||
exec bash -c "${START_COMMAND}"
|
||||
fi
|
||||
13
bitnami/wildfly/17/ol-7/rootfs/wildfly-inputs.json
Normal file
13
bitnami/wildfly/17/ol-7/rootfs/wildfly-inputs.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"javaHome": "{{$global.env.WILDFLY_JAVA_HOME}}",
|
||||
"javaOpts": "{{$global.env.WILDFLY_JAVA_OPTS}}",
|
||||
"managementHttpPort": "{{$global.env.WILDFLY_MANAGEMENT_HTTP_PORT_NUMBER}}",
|
||||
"password": "{{$global.env.WILDFLY_PASSWORD}}",
|
||||
"publicConsole": "{{$global.env.WILDFLY_PUBLIC_CONSOLE}}",
|
||||
"serverAjpPort": "{{$global.env.WILDFLY_SERVER_AJP_PORT_NUMBER}}",
|
||||
"serverHttpPort": "{{$global.env.WILDFLY_SERVER_HTTP_PORT_NUMBER}}",
|
||||
"serverInterface": "{{$global.env.WILDFLY_SERVER_INTERFACE}}",
|
||||
"username": "{{$global.env.WILDFLY_USERNAME}}",
|
||||
"wildflyHome": "{{$global.env.WILDFLY_WILDFLY_HOME}}",
|
||||
"wildflyOpts": "{{$global.env.WILDFLY_WILDFLY_OPTS}}"
|
||||
}
|
||||
@@ -44,9 +44,9 @@ Non-root container images add an extra layer of security and are generally recom
|
||||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/containers/how-to/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`16-rhel-7`, `16.0.0-rhel-7-r36` (16/rhel-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-wildfly/blob/16.0.0-rhel-7-r36/16/rhel-7/Dockerfile)
|
||||
* [`16-ol-7`, `16.0.0-ol-7-r84` (16/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-wildfly/blob/16.0.0-ol-7-r84/16/ol-7/Dockerfile)
|
||||
* [`16-debian-9`, `16.0.0-debian-9-r73`, `16`, `16.0.0`, `16.0.0-r73`, `latest` (16/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-wildfly/blob/16.0.0-debian-9-r73/16/debian-9/Dockerfile)
|
||||
* [`17-ol-7`, `17.0.0-ol-7-r0` (17/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-wildfly/blob/17.0.0-ol-7-r0/17/ol-7/Dockerfile)
|
||||
* [`17-debian-9`, `17.0.0-debian-9-r0`, `17`, `17.0.0`, `17.0.0-r0`, `latest` (17/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-wildfly/blob/17.0.0-debian-9-r0/17/debian-9/Dockerfile)
|
||||
* [`17-rhel-7`, `0.0.0-rhel-7-r0` (17/rhel-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-wildfly/blob/0.0.0-rhel-7-r0/17/rhel-7/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/wildfly GitHub repo](https://github.com/bitnami/bitnami-docker-wildfly).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user