mirror of
https://github.com/bitnami/containers.git
synced 2026-02-22 08:07:24 +08:00
1.10.11-debian-10-r1 release
This commit is contained in:
@@ -24,6 +24,7 @@ RUN update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX && \
|
||||
RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && locale-gen
|
||||
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/locales/add-extra-locales.sh
|
||||
ENV AIRFLOW_BASE_URL="" \
|
||||
AIRFLOW_DATABASE_HOST="postgresql" \
|
||||
AIRFLOW_DATABASE_NAME="bitnami_airflow" \
|
||||
@@ -57,7 +58,7 @@ ENV AIRFLOW_BASE_URL="" \
|
||||
AIRFLOW_WEBSERVER_HOST="127.0.0.1" \
|
||||
AIRFLOW_WEBSERVER_PORT_NUMBER="8080" \
|
||||
BITNAMI_APP_NAME="airflow" \
|
||||
BITNAMI_IMAGE_VERSION="1.10.11-debian-10-r0" \
|
||||
BITNAMI_IMAGE_VERSION="1.10.11-debian-10-r1" \
|
||||
LANG="en_US.UTF-8" \
|
||||
LANGUAGE="en_US:en" \
|
||||
LD_LIBRARY_PATH="/opt/bitnami/python/lib/:/opt/bitnami/airflow/venv/lib/python3.6/site-packages/numpy.libs/:$LD_LIBRARY_PATH" \
|
||||
|
||||
@@ -11,7 +11,7 @@ services:
|
||||
- POSTGRESQL_PASSWORD=bitnami1
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
redis:
|
||||
image: docker.io/bitnami/redis:5.0-debian-10
|
||||
image: docker.io/bitnami/redis:6.0-debian-10
|
||||
volumes:
|
||||
- 'redis_data:/bitnami'
|
||||
environment:
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
#!/bin/bash
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
# set -o xtrace # Uncomment this line for debugging purpose
|
||||
|
||||
# Defaults
|
||||
WITH_ALL_LOCALES="${WITH_ALL_LOCALES:-no}"
|
||||
EXTRA_LOCALES="${EXTRA_LOCALES:-}"
|
||||
|
||||
# Constants
|
||||
LOCALES_FILE="/etc/locale.gen"
|
||||
SUPPORTED_LOCALES_FILE="/usr/share/i18n/SUPPORTED"
|
||||
|
||||
# Helper function for enabling locale only when it was not added before
|
||||
enable_locale() {
|
||||
local -r locale="${1:?missing locale}"
|
||||
if ! grep -q -E "^${locale}$" "$SUPPORTED_LOCALES_FILE"; then
|
||||
echo "Locale ${locale} is not supported in this system"
|
||||
return 1
|
||||
fi
|
||||
if ! grep -q -E "^${locale}" "$LOCALES_FILE"; then
|
||||
echo "$locale" >> "$LOCALES_FILE"
|
||||
else
|
||||
echo "Locale ${locale} is already enabled"
|
||||
fi
|
||||
}
|
||||
|
||||
if [[ "$WITH_ALL_LOCALES" =~ ^(yes|true|1)$ ]]; then
|
||||
echo "Enabling all locales"
|
||||
cp "$SUPPORTED_LOCALES_FILE" "$LOCALES_FILE"
|
||||
else
|
||||
LOCALES_TO_ADD="$(sed 's/[,;]\s*/\n/g' <<< "$EXTRA_LOCALES")"
|
||||
while [[ -n "$LOCALES_TO_ADD" ]] && read -r locale; do
|
||||
echo "Enabling locale ${locale}"
|
||||
enable_locale "$locale"
|
||||
done <<< "$LOCALES_TO_ADD"
|
||||
fi
|
||||
|
||||
locale-gen
|
||||
@@ -31,7 +31,7 @@ $ docker-compose up
|
||||
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/).
|
||||
|
||||
|
||||
* [`1-debian-10`, `1.10.11-debian-10-r0`, `1`, `1.10.11`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-airflow/blob/1.10.11-debian-10-r0/1/debian-10/Dockerfile)
|
||||
* [`1-debian-10`, `1.10.11-debian-10-r1`, `1`, `1.10.11`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-airflow/blob/1.10.11-debian-10-r1/1/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/airflow GitHub repo](https://github.com/bitnami/bitnami-docker-airflow).
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ services:
|
||||
- POSTGRESQL_PASSWORD=bitnami1
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
redis:
|
||||
image: docker.io/bitnami/redis:5.0-debian-10
|
||||
image: docker.io/bitnami/redis:6.0-debian-10
|
||||
volumes:
|
||||
- 'redis_data:/bitnami'
|
||||
environment:
|
||||
|
||||
@@ -11,7 +11,7 @@ services:
|
||||
- POSTGRESQL_PASSWORD=bitnami1
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
redis:
|
||||
image: docker.io/bitnami/redis:5.0-debian-10
|
||||
image: docker.io/bitnami/redis:6.0-debian-10
|
||||
volumes:
|
||||
- 'redis_data:/bitnami'
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user