[bitnami/airflow] Release 3.2.1-debian-12-r7 (#93500)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2026-05-20 14:34:00 +02:00
committed by GitHub
parent aa2abf1322
commit c2845e643c
6 changed files with 27 additions and 12 deletions
+2 -2
View File
@@ -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-05-17T06:30:37Z" \
org.opencontainers.image.created="2026-05-20T11:45:34Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/airflow/README.md" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/airflow" \
@@ -60,7 +60,7 @@ RUN /opt/bitnami/scripts/airflow/postunpack.sh
ENV AIRFLOW_HOME="/opt/bitnami/airflow" \
APP_VERSION="3.2.1" \
BITNAMI_APP_NAME="airflow" \
IMAGE_REVISION="6" \
IMAGE_REVISION="7" \
LANG="en_US.UTF-8" \
LANGUAGE="en_US:en" \
LD_LIBRARY_PATH="/opt/bitnami/airflow/venv/lib/python3.13/site-packages/numpy.libs:/opt/bitnami/mariadb/lib:/opt/bitnami/python/lib:$LD_LIBRARY_PATH" \
@@ -58,6 +58,7 @@ services:
airflow:
image: docker.io/bitnami/airflow:3
environment:
- AIRFLOW_PASSWORD=bitnami123
- AIRFLOW_DATABASE_NAME=bitnami_airflow
- AIRFLOW_DATABASE_USERNAME=bn_airflow
- AIRFLOW_DATABASE_PASSWORD=bitnami1
@@ -25,6 +25,7 @@ export BITNAMI_DEBUG="${BITNAMI_DEBUG:-false}"
# variable will be overridden with the value specified in that file
airflow_env_vars=(
AIRFLOW_USERNAME
ALLOW_EMPTY_PASSWORD
AIRFLOW_PASSWORD
AIRFLOW_FIRSTNAME
AIRFLOW_LASTNAME
@@ -114,7 +115,8 @@ export AIRFLOW_DAEMON_GROUP="airflow"
# User configuration
export AIRFLOW_USERNAME="${AIRFLOW_USERNAME:-user}"
export AIRFLOW_PASSWORD="${AIRFLOW_PASSWORD:-bitnami}"
export ALLOW_EMPTY_PASSWORD="${ALLOW_EMPTY_PASSWORD:-no}"
export AIRFLOW_PASSWORD="${AIRFLOW_PASSWORD:-}"
export AIRFLOW_FIRSTNAME="${AIRFLOW_FIRSTNAME:-Firstname}"
export AIRFLOW_LASTNAME="${AIRFLOW_LASTNAME:-Lastname}"
export AIRFLOW_EMAIL="${AIRFLOW_EMAIL:-user@example.com}"
@@ -125,8 +127,8 @@ export AIRFLOW_EXECUTOR="${AIRFLOW_EXECUTOR:-LocalExecutor}"
export AIRFLOW_RAW_FERNET_KEY="${AIRFLOW_RAW_FERNET_KEY:-}"
export AIRFLOW_FORCE_OVERWRITE_CONF_FILE="${AIRFLOW_FORCE_OVERWRITE_CONF_FILE:-no}"
export AIRFLOW_FERNET_KEY="${AIRFLOW_FERNET_KEY:-}"
export AIRFLOW_WEBSERVER_SECRET_KEY="${AIRFLOW_WEBSERVER_SECRET_KEY:-airflow-web-server-key}"
export AIRFLOW_APISERVER_SECRET_KEY="${AIRFLOW_APISERVER_SECRET_KEY:-airflow-api-server-key}"
export AIRFLOW_WEBSERVER_SECRET_KEY="${AIRFLOW_WEBSERVER_SECRET_KEY:-}"
export AIRFLOW_APISERVER_SECRET_KEY="${AIRFLOW_APISERVER_SECRET_KEY:-}"
AIRFLOW_APISERVER_BASE_URL="${AIRFLOW_APISERVER_BASE_URL:-"${AIRFLOW_BASE_URL:-}"}"
AIRFLOW_APISERVER_BASE_URL="${AIRFLOW_APISERVER_BASE_URL:-"${AIRFLOW_WEBSERVER_BASE_URL:-}"}"
export AIRFLOW_APISERVER_BASE_URL="${AIRFLOW_APISERVER_BASE_URL:-}"
@@ -93,14 +93,18 @@ airflow_validate() {
fi
# Check Web authentication
check_empty_value "AIRFLOW_WEBSERVER_SECRET_KEY"
if is_empty_value "$AIRFLOW_WEBSERVER_SECRET_KEY"; then
AIRFLOW_WEBSERVER_SECRET_KEY="$(airflow_generate_secret_key)"
fi
if validate_string "$AIRFLOW_WEBSERVER_SECRET_KEY" -max-length 32; then
warn "AIRFLOW_WEBSERVER_SECRET_KEY has more than 32 characters, the rest will be ignored"
fi
AIRFLOW_WEBSERVER_SECRET_KEY="$(echo -n "${AIRFLOW_WEBSERVER_SECRET_KEY:0:32}" | base64)"
# Check API authentication
check_empty_value "AIRFLOW_APISERVER_SECRET_KEY"
if is_empty_value "$AIRFLOW_APISERVER_SECRET_KEY"; then
AIRFLOW_APISERVER_SECRET_KEY="$(airflow_generate_secret_key)"
fi
if validate_string "$AIRFLOW_APISERVER_SECRET_KEY" -max-length 32; then
warn "AIRFLOW_APISERVER_SECRET_KEY has more than 32 characters, the rest will be ignored"
fi
@@ -118,6 +122,13 @@ airflow_validate() {
case "$AIRFLOW_COMPONENT_TYPE" in
webserver|api-server)
# Check credentials
if is_boolean_yes "${ALLOW_EMPTY_PASSWORD:-}"; then
warn "You set the environment variable ALLOW_EMPTY_PASSWORD=${ALLOW_EMPTY_PASSWORD}. For safety reasons, do not use this flag in a production environment."
else
check_empty_value "AIRFLOW_PASSWORD"
fi
# Check webserver port number
check_allowed_port AIRFLOW_APISERVER_PORT_NUMBER
@@ -303,8 +314,7 @@ airflow_generate_config() {
[[ -n "$AIRFLOW_FERNET_KEY" ]] && airflow_conf_set "core" "fernet_key" "$AIRFLOW_FERNET_KEY"
# Configure the web server secret key parameter
secret_key_section="api"
airflow_conf_set "${secret_key_section}" "secret_key" "${AIRFLOW_WEBSERVER_SECRET_KEY}"
airflow_conf_set "api" "secret_key" "$AIRFLOW_WEBSERVER_SECRET_KEY"
airflow_conf_set "api_auth" "jwt_secret" "$AIRFLOW_APISERVER_SECRET_KEY"
local capacity_key="capacity"
+4 -3
View File
@@ -73,7 +73,8 @@ The following tables list the main variables you can set.
| Name | Description | Default Value |
|------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------|
| `AIRFLOW_USERNAME` | Airflow username | `user` |
| `AIRFLOW_PASSWORD` | Airflow password | `bitnami` |
| `ALLOW_EMPTY_PASSWORD` | Allow an empty password. | `no` |
| `AIRFLOW_PASSWORD` | Airflow password | `nil` |
| `AIRFLOW_FIRSTNAME` | Airflow firstname | `Firstname` |
| `AIRFLOW_LASTNAME` | Airflow lastname | `Lastname` |
| `AIRFLOW_EMAIL` | Airflow email | `user@example.com` |
@@ -82,8 +83,8 @@ The following tables list the main variables you can set.
| `AIRFLOW_RAW_FERNET_KEY` | Airflow raw/unencoded Fernet key | `nil` |
| `AIRFLOW_FORCE_OVERWRITE_CONF_FILE` | Force the airflow.cfg config file generation. | `no` |
| `AIRFLOW_FERNET_KEY` | Airflow Fernet key | `nil` |
| `AIRFLOW_WEBSERVER_SECRET_KEY` | Airflow webserver secret key | `airflow-web-server-key` |
| `AIRFLOW_APISERVER_SECRET_KEY` | Airflow API secret key | `airflow-api-server-key` |
| `AIRFLOW_WEBSERVER_SECRET_KEY` | Airflow webserver secret key | `nil` |
| `AIRFLOW_APISERVER_SECRET_KEY` | Airflow API secret key | `nil` |
| `AIRFLOW_APISERVER_BASE_URL` | Airflow API server base URL. | `nil` |
| `AIRFLOW_APISERVER_HOST` | Airflow API server host | `127.0.0.1` |
| `AIRFLOW_APISERVER_PORT_NUMBER` | Airflow API server port. | `8080` |
+1
View File
@@ -58,6 +58,7 @@ services:
airflow:
image: docker.io/bitnami/airflow:3
environment:
- AIRFLOW_PASSWORD=bitnami123
- AIRFLOW_DATABASE_NAME=bitnami_airflow
- AIRFLOW_DATABASE_USERNAME=bn_airflow
- AIRFLOW_DATABASE_PASSWORD=bitnami1