[bitnami/opencart] Release 4.0.2-3-debian-12-r23 (#63924)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2024-03-20 12:13:47 +01:00
committed by GitHub
parent 6d2f4f2553
commit 05460a9b29
6 changed files with 20 additions and 8 deletions

View File

@@ -7,10 +7,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2024-03-08T16:33:53Z" \
org.opencontainers.image.created="2024-03-20T10:32:02Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="4.0.2-3-debian-12-r22" \
org.opencontainers.image.ref.name="4.0.2-3-debian-12-r23" \
org.opencontainers.image.title="opencart" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="4.0.2-3"
@@ -27,10 +27,10 @@ RUN install_packages acl ca-certificates curl libaudit1 libbrotli1 libbsd0 libbz
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
COMPONENTS=( \
"render-template-1.0.6-10-linux-${OS_ARCH}-debian-12" \
"php-8.2.16-2-linux-${OS_ARCH}-debian-12" \
"php-8.2.17-0-linux-${OS_ARCH}-debian-12" \
"apache-2.4.58-8-linux-${OS_ARCH}-debian-12" \
"mysql-client-11.2.3-1-linux-${OS_ARCH}-debian-12" \
"libphp-8.2.16-1-linux-${OS_ARCH}-debian-12" \
"libphp-8.2.17-0-linux-${OS_ARCH}-debian-12" \
"opencart-4.0.2-3-3-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \

View File

@@ -9,7 +9,7 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "8.2.16-1"
"version": "8.2.17-0"
},
"mysql-client": {
"arch": "amd64",
@@ -27,7 +27,7 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "8.2.16-2"
"version": "8.2.17-0"
},
"render-template": {
"arch": "amd64",

View File

@@ -48,6 +48,7 @@ print_image_welcome_page() {
info "${BOLD}Welcome to the Bitnami ${BITNAMI_APP_NAME} container${RESET}"
info "Subscribe to project updates by watching ${BOLD}${github_url}${RESET}"
info "Submit issues and feature requests at ${BOLD}${github_url}/issues${RESET}"
info "Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit ${BOLD}https://bitnami.com/enterprise${RESET}"
info ""
}

View File

@@ -1,5 +1,5 @@
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript
AddOutputFilterByType DEFLATE application/rss+xml
</IfModule>

View File

@@ -37,3 +37,7 @@ AddType application/x-httpd-php .php
DirectoryIndex index.html index.htm index.php
EOF
ensure_apache_configuration_exists "Include \"${apache_php_conf_file}\""
# Copy all initially generated configuration files to the default directory
# (this is to avoid breaking when entrypoint is being overridden)
cp -r "$APACHE_CONF_DIR"/* "$APACHE_DEFAULT_CONF_DIR"

View File

@@ -203,16 +203,24 @@ docker run -d --name opencart \
| Name | Description | Default Value |
|---------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|
| `OPENCART_DATA_TO_PERSIST` | Files to persist relative to the OpenCart installation directory. To provide multiple values, separate them with a whitespace. | `config.php administration/config.php` |
| `OPENCART_HOST` | OpenCart server hostname. | `nil` |
| `OPENCART_EXTERNAL_HTTP_PORT_NUMBER` | Port to used by OpenCart to generate URLs and links when accessing using HTTP. | `80` |
| `OPENCART_EXTERNAL_HTTPS_PORT_NUMBER` | Port to used by OpenCart to generate URLs and links when accessing using HTTPS. | `443` |
| `OPENCART_ENABLE_HTTPS` | Whether to use HTTPS by default. | `no` |
| `OPENCART_SKIP_BOOTSTRAP` | Whether to perform initial bootstrapping for the application. | `nil` |
| `OPENCART_USERNAME` | OpenCart user name. | `user` |
| `OPENCART_PASSWORD` | OpenCart user password. | `bitnami` |
| `OPENCART_EMAIL` | OpenCart user e-mail address. | `user@example.com` |
| `OPENCART_SMTP_HOST` | OpenCart SMTP server host. | `nil` |
| `OPENCART_SMTP_PORT_NUMBER` | OpenCart SMTP server port number. | `nil` |
| `OPENCART_SMTP_USER` | OpenCart SMTP server user. | `nil` |
| `OPENCART_SMTP_PASSWORD` | OpenCart SMTP server user password. | `nil` |
| `OPENCART_SMTP_PROTOCOL` | OpenCart SMTP server protocol to use. | `nil` |
| `OPENCART_DATABASE_HOST` | Database server host. | `$OPENCART_DEFAULT_DATABASE_HOST` |
| `OPENCART_DATABASE_PORT_NUMBER` | Database server port. | `3306` |
| `OPENCART_DATABASE_NAME` | Database name. | `bitnami_opencart` |
| `OPENCART_DATABASE_USER` | Database user name. | `bn_opencart` |
| `OPENCART_DATABASE_PASSWORD` | Database user password. | `nil` |
#### Read-only environment variables
@@ -224,7 +232,6 @@ docker run -d --name opencart \
| `OPENCART_VOLUME_DIR` | OpenCart directory for mounted configuration files. | `${BITNAMI_VOLUME_DIR}/opencart` |
| `OPENCART_STORAGE_DIR` | OpenCart directory for mounted configuration files. | `${BITNAMI_VOLUME_DIR}/opencart_storage` |
| `OPENCART_DEFAULT_DATABASE_HOST` | Default database server host. | `mariadb` |
| `OPENCART_DEFAULT_DATABASE_HOST` | Default database server host. | `127.0.0.1` |
| `PHP_DEFAULT_MEMORY_LIMIT` | Default PHP memory limit. | `256M` |
When you start the OpenCart 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: