mirror of
https://github.com/bitnami/containers.git
synced 2026-03-21 15:29:05 +08:00
1.10.2-debian-9-r18 release
This commit is contained in:
@@ -9,7 +9,7 @@ ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
||||
RUN install_packages libbsd0 libbz2-1.0 libc6 libcomerr2 libedit2 libffi6 libgcc1 libgmp10 libgnutls30 libgssapi-krb5-2 libhogweed4 libicu57 libidn11 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma5 libmariadbclient18 libncurses5 libnettle6 libnss-wrapper libp11-kit0 libpq5 libreadline7 libsasl2-2 libsqlite3-0 libssl1.1 libstdc++6 libtasn1-6 libtinfo5 libxml2 libxslt1.1 zlib1g
|
||||
RUN bitnami-pkg install python-3.6.8-2 --checksum 2eb057ee7701667327f6bcc1fc8765abe5d9d003a64124e5f8505fa692e71eb8
|
||||
RUN bitnami-pkg install postgresql-client-10.7.0-1 --checksum a351a3ea00d4443bdc6892e5f9d45aaf2fbbdf7c2aa40ab6cf423c78d535cca1
|
||||
RUN bitnami-pkg unpack airflow-scheduler-1.10.2-4 --checksum 20d891dc59323ec5b41a0cc38a31dbee811664cccfaefad2234f227dba3e8670
|
||||
RUN bitnami-pkg unpack airflow-scheduler-1.10.2-5 --checksum 10ca230d2b81a40e9a30255bb56b2d88da022388f51bd0bf68dcdd111f27c7fe
|
||||
|
||||
COPY rootfs /
|
||||
ENV AIRFLOW_DATABASE_HOST="postgresql" \
|
||||
@@ -27,9 +27,10 @@ ENV AIRFLOW_DATABASE_HOST="postgresql" \
|
||||
AIRFLOW_WEBSERVER_HOST="airflow" \
|
||||
AIRFLOW_WEBSERVER_PORT_NUMBER="8080" \
|
||||
BITNAMI_APP_NAME="airflow-scheduler" \
|
||||
BITNAMI_IMAGE_VERSION="1.10.2-debian-9-r17" \
|
||||
BITNAMI_IMAGE_VERSION="1.10.2-debian-9-r18" \
|
||||
LD_LIBRARY_PATH="/opt/bitnami/airflow/venv/lib/python3.6/site-packages/numpy/.libs/:$LD_LIBRARY_PATH" \
|
||||
LD_PRELOAD="/usr/lib/libnss_wrapper.so" \
|
||||
LNAME="airflow" \
|
||||
NAMI_PREFIX="/.nami" \
|
||||
NSS_WRAPPER_GROUP="/opt/bitnami/airflow/nss_group" \
|
||||
NSS_WRAPPER_PASSWD="/opt/bitnami/airflow/nss_passwd" \
|
||||
|
||||
@@ -8,6 +8,21 @@ DAEMON=airflow
|
||||
EXEC=$(which $DAEMON)
|
||||
START_COMMAND="${EXEC} scheduler | tee /opt/bitnami/airflow/logs/airflow-scheduler.log"
|
||||
|
||||
echo "Waiting for db..."
|
||||
counter=0;
|
||||
res=1000;
|
||||
while [[ $res != 0 && $counter -lt 30 ]];
|
||||
do
|
||||
if PGPASSWORD=$AIRFLOW_DATABASE_PASSWORD psql -h "$AIRFLOW_DATABASE_HOST" -U "$AIRFLOW_DATABASE_USER" -d "$AIRFLOW_DATABASE_NAME" -c "" > /dev/null ; then
|
||||
echo "Database is ready";
|
||||
res=0
|
||||
else
|
||||
echo "Can't connect to database...retrying in 1 second";
|
||||
fi
|
||||
counter=$((counter + 1))
|
||||
sleep 1
|
||||
done
|
||||
|
||||
info "Starting ${DAEMON}..."
|
||||
# If container is started as `root` user
|
||||
if [ $EUID -eq 0 ]; then
|
||||
|
||||
@@ -32,7 +32,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
|
||||
|
||||
* [`1-rhel-7`, `1.10.2-rhel-7-r2` (1/rhel-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-airflow-scheduler/blob/1.10.2-rhel-7-r2/1/rhel-7/Dockerfile)
|
||||
* [`1-ol-7`, `1.10.2-ol-7-r12` (1/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-airflow-scheduler/blob/1.10.2-ol-7-r12/1/ol-7/Dockerfile)
|
||||
* [`1-debian-9`, `1.10.2-debian-9-r17`, `1`, `1.10.2`, `1.10.2-r17`, `latest` (1/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-airflow-scheduler/blob/1.10.2-debian-9-r17/1/debian-9/Dockerfile)
|
||||
* [`1-debian-9`, `1.10.2-debian-9-r18`, `1`, `1.10.2`, `1.10.2-r18`, `latest` (1/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-airflow-scheduler/blob/1.10.2-debian-9-r18/1/debian-9/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/airflow GitHub repo](https://github.com/bitnami/bitnami-docker-airflow-scheduler).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user