3.2.7-debian-9-r129 release
This commit is contained in:
parent
ddc728adb5
commit
351c295389
|
|
@ -1,4 +1,4 @@
|
|||
FROM bitnami/minideb-extras:stretch-r482
|
||||
FROM bitnami/minideb-extras:stretch-r483
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
|
|
@ -8,17 +8,11 @@ RUN bitnami-pkg unpack php-7.2.22-1 --checksum 354146eb8ad2cbe69ddb62ac259a026e1
|
|||
RUN bitnami-pkg unpack mysql-client-10.3.18-1 --checksum 0923287dea11bd5880530ca456435e3f4c1c089bee2f8eea1dbf69821478e370
|
||||
RUN bitnami-pkg install libphp-7.2.22-0 --checksum fbe0fcc057cbc1b6541b1533267537c51e626bad2c46643e96f8f9aa2abfa31f
|
||||
RUN bitnami-pkg unpack phpbb-3.2.7-1 --checksum 94994fcc6d25e0916319f9171a21e865b662a5df8af4d9a68ba25b794f4253e7
|
||||
RUN ln -sf /dev/stdout /opt/bitnami/apache/logs/access_log
|
||||
RUN ln -sf /dev/stderr /opt/bitnami/apache/logs/error_log
|
||||
|
||||
COPY rootfs /
|
||||
ENV ALLOW_EMPTY_PASSWORD="no" \
|
||||
APACHE_HTTPS_PORT_NUMBER="" \
|
||||
APACHE_HTTP_PORT_NUMBER="" \
|
||||
APACHE_SET_HTTPS_PORT="no" \
|
||||
APACHE_SET_HTTP_PORT="no" \
|
||||
BITNAMI_APP_NAME="phpbb" \
|
||||
BITNAMI_IMAGE_VERSION="3.2.7-debian-9-r128" \
|
||||
BITNAMI_IMAGE_VERSION="3.2.7-debian-9-r129" \
|
||||
MARIADB_HOST="mariadb" \
|
||||
MARIADB_PORT_NUMBER="3306" \
|
||||
MARIADB_ROOT_PASSWORD="" \
|
||||
|
|
@ -44,9 +38,7 @@ ENV ALLOW_EMPTY_PASSWORD="no" \
|
|||
SMTP_PORT="" \
|
||||
SMTP_USER=""
|
||||
|
||||
VOLUME [ "/certs" ]
|
||||
|
||||
EXPOSE 80 443
|
||||
|
||||
ENTRYPOINT [ "/app-entrypoint.sh" ]
|
||||
CMD [ "httpd", "-f", "/opt/bitnami/apache/conf/httpd.conf", "-DFOREGROUND" ]
|
||||
CMD [ "nami", "start", "--foreground", "apache" ]
|
||||
|
|
|
|||
|
|
@ -1,27 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check whether Apache ports must be configured
|
||||
if [[ -n "${APACHE_HTTP_PORT_NUMBER:-}" ]]; then
|
||||
export APACHE_SET_HTTP_PORT="yes"
|
||||
fi
|
||||
if [[ -n "${APACHE_HTTPS_PORT_NUMBER:-}" ]]; then
|
||||
export APACHE_SET_HTTPS_PORT="yes"
|
||||
fi
|
||||
|
||||
# Copy vhosts file
|
||||
if [[ "$(ls -A /vhosts 2>/dev/null)" ]]; then
|
||||
info "Found vhost definitions in /vhosts. Copying them to /opt/bitnami/apache/conf/vhosts"
|
||||
cp -r /vhosts/* /opt/bitnami/apache/conf/vhosts
|
||||
fi
|
||||
|
||||
# Mount certificate files
|
||||
if [[ -d "/opt/bitnami/apache/certs" ]]; then
|
||||
warn "The directory '/opt/bitnami/apache/certs' was externally mounted. This is a legacy configuration and will be deprecated soon. Please mount certificate files at '/opt/bitnami/apache/conf/bitnami/certs' instead. Find an example at: https://github.com/bitnami/bitnami-docker-apache#using-custom-ssl-certificates"
|
||||
warn "Restoring certificates at '/opt/bitnami/apache/certs' to '/opt/bitnami/apache/conf/bitnami/certs'..."
|
||||
rm -rf /opt/bitnami/apache/conf/bitnami/certs
|
||||
ln -sf /opt/bitnami/apache/certs /opt/bitnami/apache/conf/bitnami/certs
|
||||
elif [ "$(ls -A /certs 2>/dev/null)" ]; then
|
||||
info "Mounting certificates files from /certs..."
|
||||
rm -rf /opt/bitnami/apache/conf/bitnami/certs
|
||||
ln -sf /certs /opt/bitnami/apache/conf/bitnami/certs
|
||||
fi
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"httpPort": "{{$global.env.APACHE_HTTP_PORT_NUMBER}}",
|
||||
"httpsPort": "{{$global.env.APACHE_HTTPS_PORT_NUMBER}}",
|
||||
"setHttpPort": "{{$global.env.APACHE_SET_HTTP_PORT}}",
|
||||
"setHttpsPort": "{{$global.env.APACHE_SET_HTTPS_PORT}}"
|
||||
}
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
print_welcome_page
|
||||
|
||||
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "httpd" ]]; then
|
||||
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
|
||||
. /phpbb-init.sh
|
||||
nami_initialize apache php mysql-client phpbb
|
||||
info "Starting phpbb... "
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
|
|||
|
||||
|
||||
* [`3-ol-7`, `3.2.7-ol-7-r148` (3/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-phpbb/blob/3.2.7-ol-7-r148/3/ol-7/Dockerfile)
|
||||
* [`3-debian-9`, `3.2.7-debian-9-r128`, `3`, `3.2.7`, `3.2.7-r128`, `latest` (3/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-phpbb/blob/3.2.7-debian-9-r128/3/debian-9/Dockerfile)
|
||||
* [`3-debian-9`, `3.2.7-debian-9-r129`, `3`, `3.2.7`, `3.2.7-r129`, `latest` (3/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-phpbb/blob/3.2.7-debian-9-r129/3/debian-9/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/phpbb GitHub repo](https://github.com/bitnami/bitnami-docker-phpbb).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue