diff --git a/bitnami/apache/2.4/debian-12/Dockerfile b/bitnami/apache/2.4/debian-12/Dockerfile index 6562892495f6..0b2d4a0e58c9 100644 --- a/bitnami/apache/2.4/debian-12/Dockerfile +++ b/bitnami/apache/2.4/debian-12/Dockerfile @@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith" ARG TARGETARCH LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2026-04-08T18:15:51Z" \ + org.opencontainers.image.created="2026-04-28T18:50:18Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/apache/README.md" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/apache" \ @@ -29,7 +29,7 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \ mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \ COMPONENTS=( \ "render-template-1.0.9-164-linux-${OS_ARCH}-debian-12" \ - "apache-2.4.66-1-linux-${OS_ARCH}-debian-12" \ + "apache-2.4.66-2-linux-${OS_ARCH}-debian-12" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ @@ -52,7 +52,7 @@ ENV APACHE_HTTPS_PORT_NUMBER="" \ APACHE_HTTP_PORT_NUMBER="" \ APP_VERSION="2.4.66" \ BITNAMI_APP_NAME="apache" \ - IMAGE_REVISION="8" \ + IMAGE_REVISION="9" \ PATH="/opt/bitnami/common/bin:/opt/bitnami/apache/bin:$PATH" EXPOSE 8080 8443 diff --git a/bitnami/apache/README.md b/bitnami/apache/README.md index b1a603495776..733d18049348 100644 --- a/bitnami/apache/README.md +++ b/bitnami/apache/README.md @@ -11,7 +11,13 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema docker run --name apache bitnami/apache:latest ``` -You can find the available configuration options in the [Environment Variables](#environment-variables) section. +## Using `docker-compose.yml` + +The docker-compose.yaml file of this container can be found in the [Bitnami Containers repository](https://github.com/bitnami/containers/). + +[https://github.com/bitnami/containers/tree/main/bitnami/apache/docker-compose.yml](https://github.com/bitnami/containers/tree/main/bitnami/apache/docker-compose.yml) + +Please be aware this file has not undergone internal testing. Consequently, we advise its use exclusively for development or testing purposes. For production-ready deployments, we highly recommend utilizing its associated [Bitnami Helm chart](https://github.com/bitnami/charts/tree/main/bitnami/apache). ## Why use Bitnami Secure Images? @@ -46,10 +52,6 @@ Learn more about the Bitnami tagging policy and the difference between rolling t The Bitnami Apache Docker image is only available to [Bitnami Secure Images](https://bitnami.com) customers. -## Using `docker-compose.yaml` - -Please be aware this file has not undergone internal testing. Consequently, we advise its use exclusively for development or testing purposes. For production-ready deployments, we highly recommend utilizing its associated [Bitnami Helm chart](https://github.com/bitnami/charts/tree/main/bitnami/apache). - ## Hosting a static website The `/app` path is configured as the Apache [DocumentRoot](https://httpd.apache.org/docs/2.4/urlmapping.html#documentroot). Content mounted here is served by the default catch-all virtual host. @@ -136,32 +138,6 @@ The following tables list the main variables you can set. | `APACHE_DEFAULT_HTTP_PORT_NUMBER` | Default Apache HTTP port number to enable at build time. | `8080` | | `APACHE_DEFAULT_HTTPS_PORT_NUMBER` | Default Apache HTTPS port number to enable at build time. | `8443` | -When you start the Apache image, you can adjust the configuration of the instance by passing one or more environment variables either on the docker-compose file or on the `docker run` command line. If you want to add a new environment variable: - -- For docker-compose add the variable name and value under the application section: - -```yaml -version: '2' - -services: - apache: - image: bitnami/apache:latest - ports: - - 80:8081 - - 443:8443 - environment: - - APACHE_HTTP_PORT_NUMBER=8081 -``` - -- For manual execution add a `-e` option with each variable and value: - -```console -docker run -d --name apache -p 80:8081 -p 443:443 \ - --network apache-tier \ - --e APACHE_HTTP_PORT_NUMBER=8081 \ - bitnami/apache:latest -``` - ### Adding custom virtual hosts The default `httpd.conf` includes virtual hosts placed in `/opt/bitnami/apache/conf/vhosts/`. You can mount a `my_vhost.conf` file containing your custom virtual hosts at the `/vhosts` folder. @@ -287,19 +263,7 @@ Apache can be used to reverse proxy to other containers using Docker's linking s ## Logging -The Bitnami Apache Docker image sends the container logs to the `stdout`. To view the logs: - -```console -docker logs apache -``` - -or using Docker Compose: - -```console -docker-compose logs apache -``` - -You can configure the containers [logging driver](https://docs.docker.com/engine/admin/logging/overview/) using the `--log-driver` option if you wish to consume the container logs differently. In the default configuration docker uses the `json-file` driver. +The Bitnami Apache Docker image sends the container logs to the `stdout`. You can configure the containers [logging driver](https://docs.docker.com/engine/admin/logging/overview/) using the `--log-driver` option if you wish to consume the container logs differently. In the default configuration docker uses the `json-file` driver. ## Customize this image