From aabb945d4bd78e3820ad936b8191c22fd79cb929 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Fri, 24 Dec 2021 22:01:22 +0000 Subject: [PATCH] 2.2.3-debian-10-r3 release --- bitnami/airflow-worker/2/debian-10/Dockerfile | 2 +- .../2/debian-10/rootfs/opt/bitnami/scripts/libairflow.sh | 8 +++++--- bitnami/airflow-worker/README.md | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/bitnami/airflow-worker/2/debian-10/Dockerfile b/bitnami/airflow-worker/2/debian-10/Dockerfile index f31f2a64063a..0f2499c41b61 100644 --- a/bitnami/airflow-worker/2/debian-10/Dockerfile +++ b/bitnami/airflow-worker/2/debian-10/Dockerfile @@ -28,7 +28,7 @@ RUN /opt/bitnami/scripts/airflow-worker/postunpack.sh RUN /opt/bitnami/scripts/locales/add-extra-locales.sh ENV AIRFLOW_HOME="/opt/bitnami/airflow" \ BITNAMI_APP_NAME="airflow-worker" \ - BITNAMI_IMAGE_VERSION="2.2.3-debian-10-r2" \ + BITNAMI_IMAGE_VERSION="2.2.3-debian-10-r3" \ C_FORCE_ROOT="True" \ LANG="en_US.UTF-8" \ LANGUAGE="en_US:en" \ diff --git a/bitnami/airflow-worker/2/debian-10/rootfs/opt/bitnami/scripts/libairflow.sh b/bitnami/airflow-worker/2/debian-10/rootfs/opt/bitnami/scripts/libairflow.sh index 9df48c71db69..dfe036359839 100644 --- a/bitnami/airflow-worker/2/debian-10/rootfs/opt/bitnami/scripts/libairflow.sh +++ b/bitnami/airflow-worker/2/debian-10/rootfs/opt/bitnami/scripts/libairflow.sh @@ -321,15 +321,17 @@ airflow_webserver_conf_set() { shift 2 local -r file="$AIRFLOW_WEBSERVER_CONF_FILE" - local entry - is_boolean_yes "$is_literal" && entry="${key} = '${value}'" || entry="${key} = ${value}" # Check if the value was set before if grep -q "^#*\\s*${key} =.*$" "$file"; then + local entry + is_boolean_yes "$is_literal" && entry="${key} = '${value}'" || entry="${key} = ${value}" # Update the existing key replace_in_file "$file" "^#*\\s*${key} =.*$" "$entry" false else # Add a new key - printf '\n%s = %s' "$key" "$value" >>"$file" + local new_value="$value" + is_boolean_yes "$is_literal" && new_value="'${value}'" + printf '\n%s = %s' "$key" "$new_value" >>"$file" fi } diff --git a/bitnami/airflow-worker/README.md b/bitnami/airflow-worker/README.md index b7b7ed7c73f2..ccf0adedd8dd 100644 --- a/bitnami/airflow-worker/README.md +++ b/bitnami/airflow-worker/README.md @@ -37,7 +37,7 @@ You can find the default credentials and available configuration options in the Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). -* [`2`, `2-debian-10`, `2.2.3`, `2.2.3-debian-10-r2`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-airflow-worker/blob/2.2.3-debian-10-r2/2/debian-10/Dockerfile) +* [`2`, `2-debian-10`, `2.2.3`, `2.2.3-debian-10-r3`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-airflow-worker/blob/2.2.3-debian-10-r3/2/debian-10/Dockerfile) Subscribe to project updates by watching the [bitnami/airflow GitHub repo](https://github.com/bitnami/bitnami-docker-airflow-worker).