mirror of
https://github.com/bitnami/containers.git
synced 2026-10-18 08:12:12 +02:00
[bitnami/appsmith] Release 1.98.0-debian-12-r2 (#92242)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -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-03-30T18:23:14Z" \
|
||||
org.opencontainers.image.created="2026-04-08T18:16:16Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/appsmith/README.md" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/appsmith" \
|
||||
@@ -28,10 +28,10 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
|
||||
DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \
|
||||
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||
COMPONENTS=( \
|
||||
"render-template-1.0.9-163-linux-${OS_ARCH}-debian-12" \
|
||||
"python-3.14.3-11-linux-${OS_ARCH}-debian-12" \
|
||||
"render-template-1.0.9-164-linux-${OS_ARCH}-debian-12" \
|
||||
"python-3.14.4-0-linux-${OS_ARCH}-debian-12" \
|
||||
"node-20.20.2-0-linux-${OS_ARCH}-debian-12" \
|
||||
"nginx-1.29.7-0-linux-${OS_ARCH}-debian-12" \
|
||||
"nginx-1.29.8-0-linux-${OS_ARCH}-debian-12" \
|
||||
"mongodb-shell-2.8.2-0-linux-${OS_ARCH}-debian-12" \
|
||||
"jre-17.0.18-10-1-linux-${OS_ARCH}-debian-12" \
|
||||
"appsmith-1.98.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
@@ -55,7 +55,7 @@ RUN /opt/bitnami/scripts/nginx/postunpack.sh
|
||||
RUN /opt/bitnami/scripts/appsmith/postunpack.sh
|
||||
ENV APP_VERSION="1.98.0" \
|
||||
BITNAMI_APP_NAME="appsmith" \
|
||||
IMAGE_REVISION="1" \
|
||||
IMAGE_REVISION="2" \
|
||||
NGINX_HTTPS_PORT_NUMBER="" \
|
||||
NGINX_HTTP_PORT_NUMBER="" \
|
||||
PATH="/opt/bitnami/common/bin:/opt/bitnami/python/bin:/opt/bitnami/node/bin:/opt/bitnami/nginx/sbin:/opt/bitnami/mongodb/bin:/opt/bitnami/java/bin:$PATH"
|
||||
|
||||
@@ -139,9 +139,16 @@ nginx_validate() {
|
||||
print_validation_error "An invalid port was specified in the environment variable ${port_var}: ${err}."
|
||||
fi
|
||||
}
|
||||
check_valid_worker_processes() {
|
||||
local worker_processes_var="${1:?missing worker_processes variable}"
|
||||
if [[ "${!worker_processes_var}" != "auto" ]] && ! [[ "${!worker_processes_var}" =~ ^[1-9][0-9]*$ ]]; then
|
||||
print_validation_error "The allowed values for ${worker_processes_var} are: auto or a positive integer"
|
||||
fi
|
||||
}
|
||||
|
||||
! is_empty_value "$NGINX_ENABLE_ABSOLUTE_REDIRECT" && check_yes_no_value "NGINX_ENABLE_ABSOLUTE_REDIRECT"
|
||||
! is_empty_value "$NGINX_ENABLE_PORT_IN_REDIRECT" && check_yes_no_value "NGINX_ENABLE_PORT_IN_REDIRECT"
|
||||
! is_empty_value "$NGINX_WORKER_PROCESSES" && check_valid_worker_processes "NGINX_WORKER_PROCESSES"
|
||||
|
||||
! is_empty_value "$NGINX_HTTP_PORT_NUMBER" && check_valid_port "NGINX_HTTP_PORT_NUMBER"
|
||||
! is_empty_value "$NGINX_HTTPS_PORT_NUMBER" && check_valid_port "NGINX_HTTPS_PORT_NUMBER"
|
||||
@@ -206,6 +213,7 @@ nginx_initialize() {
|
||||
if [[ -n "${NGINX_HTTPS_PORT_NUMBER:-}" ]] && [[ -f "${NGINX_SERVER_BLOCKS_DIR}/default-https-server-block.conf" ]]; then
|
||||
nginx_configure_port "$NGINX_HTTPS_PORT_NUMBER" "${NGINX_SERVER_BLOCKS_DIR}/default-https-server-block.conf"
|
||||
fi
|
||||
nginx_configure "worker_processes" "$NGINX_WORKER_PROCESSES"
|
||||
nginx_configure "absolute_redirect" "$(is_boolean_yes "$NGINX_ENABLE_ABSOLUTE_REDIRECT" && echo "on" || echo "off" )"
|
||||
nginx_configure "port_in_redirect" "$(is_boolean_yes "$NGINX_ENABLE_PORT_IN_REDIRECT" && echo "on" || echo "off" )"
|
||||
# Stream configuration
|
||||
|
||||
@@ -24,6 +24,7 @@ export BITNAMI_DEBUG="${BITNAMI_DEBUG:-false}"
|
||||
# By setting an environment variable matching *_FILE to a file path, the prefixed environment
|
||||
# variable will be overridden with the value specified in that file
|
||||
nginx_env_vars=(
|
||||
NGINX_WORKER_PROCESSES
|
||||
NGINX_HTTP_PORT_NUMBER
|
||||
NGINX_HTTPS_PORT_NUMBER
|
||||
NGINX_SKIP_SAMPLE_CERTS
|
||||
@@ -72,6 +73,7 @@ export NGINX_DEFAULT_HTTPS_PORT_NUMBER="8443"
|
||||
export WEB_SERVER_DEFAULT_HTTPS_PORT_NUMBER="$NGINX_DEFAULT_HTTPS_PORT_NUMBER" # only used at build time
|
||||
|
||||
# NGINX configuration
|
||||
export NGINX_WORKER_PROCESSES="${NGINX_WORKER_PROCESSES:-auto}"
|
||||
export NGINX_HTTP_PORT_NUMBER="${NGINX_HTTP_PORT_NUMBER:-}"
|
||||
export WEB_SERVER_HTTP_PORT_NUMBER="$NGINX_HTTP_PORT_NUMBER"
|
||||
export NGINX_HTTPS_PORT_NUMBER="${NGINX_HTTPS_PORT_NUMBER:-}"
|
||||
|
||||
Reference in New Issue
Block a user