mirror of
https://github.com/bitnami/containers.git
synced 2026-03-13 14:58:03 +08:00
2.4.33-ol-7-r4 release
Maintenance release
This commit is contained in:
@@ -1,27 +1,20 @@
|
||||
FROM bitnami/oraclelinux-extras:7
|
||||
FROM bitnami/oraclelinux-extras:7-r5
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
||||
BITNAMI_PKG_EXTRA_DIRS="/bitnami/apache/conf /opt/bitnami/apache/tmp /opt/bitnami/apache/conf" \
|
||||
HOME="/"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages cyrus-sasl-lib expat glibc keyutils-libs krb5-libs libcom_err libselinux nspr nss nss-softokn-freebl nss-util openldap openssl-libs pcre zlib
|
||||
RUN bitnami-pkg unpack apache-2.4.33-3 --checksum 0611709446389dbf1b9a08ee4b8b447443e356e286a9c6dee312d55f72e465d6
|
||||
RUN bitnami-pkg unpack apache-2.4.33-4 --checksum 4e8daac4fc3f70870a856be2dbabe35c060bae4319da105a1cd38ea2335cc5a1
|
||||
RUN ln -sf /opt/bitnami/apache/htdocs /app
|
||||
RUN ln -sf /dev/stdout /opt/bitnami/apache/logs/access_log
|
||||
RUN ln -sf /dev/stdout /opt/bitnami/apache/logs/error_log
|
||||
|
||||
COPY rootfs /
|
||||
ENV APACHE_HTTPS_PORT_NUMBER="8443" \
|
||||
APACHE_HTTP_PORT_NUMBER="8080" \
|
||||
ENV APACHE_HTTPS_PORT_NUMBER="443" \
|
||||
APACHE_HTTP_PORT_NUMBER="80" \
|
||||
BITNAMI_APP_NAME="apache" \
|
||||
BITNAMI_IMAGE_VERSION="2.4.33-r3" \
|
||||
BITNAMI_IMAGE_VERSION="2.4.33-ol-7-r4" \
|
||||
PATH="/opt/bitnami/apache/bin:$PATH"
|
||||
|
||||
EXPOSE 8080 8443
|
||||
EXPOSE 80 443
|
||||
|
||||
WORKDIR /app
|
||||
USER 1001
|
||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||
CMD ["httpd","-f","/bitnami/apache/conf/httpd.conf","-DFOREGROUND"]
|
||||
CMD ["nami","start","--foreground","apache"]
|
||||
|
||||
@@ -3,11 +3,9 @@ version: '2'
|
||||
services:
|
||||
apache:
|
||||
image: 'bitnami/apache:2.4-ol-7'
|
||||
labels:
|
||||
kompose.service.type: nodeport
|
||||
ports:
|
||||
- '80:8080'
|
||||
- '443:8443'
|
||||
- '80:80'
|
||||
- '443:443'
|
||||
volumes:
|
||||
- 'apache_data:/bitnami'
|
||||
volumes:
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
print_welcome_page
|
||||
|
||||
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "httpd" ]]; then
|
||||
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
|
||||
nami_initialize apache
|
||||
info "Starting apache... "
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user