1.10.2-rhel-7-r3 release

This commit is contained in:
Bitnami Bot
2019-02-21 12:36:05 +00:00
parent 63628b867c
commit e96fa157db
3 changed files with 19 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
RUN install_packages bzip2-libs cyrus-sasl-lib glibc keyutils-libs krb5-libs libcom_err libedit libffi libgcc libselinux libstdc++ libxml2 libxslt mariadb-libs ncurses-libs nspr nss nss-softokn-freebl nss-util openldap openssl-libs pcre postgresql-libs readline sqlite xz-libs zlib
RUN bitnami-pkg install python-3.6.8-2 --checksum e717a899c99dba496d1dc67ee61d99c73974f7379f0a180e4091480e54a5ab29
RUN bitnami-pkg install postgresql-client-10.7.0-0 --checksum 998d732ee5306169a8324543f4226d660882e2d2f535db9647a09cf490daa13f
RUN bitnami-pkg unpack airflow-worker-1.10.2-0 --checksum 08eb9bc0e26260c1039fc449605c6fe4dec11894d51f639471acccdeac4e6f4f
RUN bitnami-pkg unpack airflow-worker-1.10.2-1 --checksum 6062df16626f6cced509b82866b28f70694dfd7de2ee2abc63819b7275b539bf
COPY rootfs /
RUN rpm -Uvh --nodeps $(repoquery --location nss_wrapper)
@@ -28,7 +28,7 @@ ENV AIRFLOW_DATABASE_HOST="postgresql" \
AIRFLOW_WEBSERVER_PORT_NUMBER="8080" \
AIRFLOW_WORKER_PORT_NUMBER="8793" \
BITNAMI_APP_NAME="airflow-worker" \
BITNAMI_IMAGE_VERSION="1.10.2-rhel-7-r2" \
BITNAMI_IMAGE_VERSION="1.10.2-rhel-7-r3" \
C_FORCE_ROOT="True" \
LD_LIBRARY_PATH="/opt/bitnami/airflow/venv/lib/python3.6/site-packages/numpy/.libs/:$LD_LIBRARY_PATH" \
LD_PRELOAD="/usr/lib64/libnss_wrapper.so" \

View File

@@ -8,6 +8,21 @@ DAEMON=airflow
EXEC=$(which $DAEMON)
START_COMMAND="${EXEC} worker | tee /opt/bitnami/airflow/logs/airflow-worker.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

View File

@@ -30,9 +30,9 @@ $ 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/containers/how-to/understand-rolling-tags-containers/).
* [`1-rhel-7`, `1.10.2-rhel-7-r2` (1/rhel-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-airflow-worker-scheduler/blob/1.10.2-rhel-7-r2/1/rhel-7/Dockerfile)
* [`1-rhel-7`, `1.10.2-rhel-7-r3` (1/rhel-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-airflow-worker-scheduler/blob/1.10.2-rhel-7-r3/1/rhel-7/Dockerfile)
* [`1-ol-7`, `1.10.2-ol-7-r12` (1/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-airflow-worker-scheduler/blob/1.10.2-ol-7-r12/1/ol-7/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-worker-scheduler/blob/1.10.2-debian-9-r18/1/debian-9/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-worker-scheduler/blob/1.10.2-debian-9-r17/1/debian-9/Dockerfile)
Subscribe to project updates by watching the [bitnami/airflow GitHub repo](https://github.com/bitnami/bitnami-docker-airflow-worker).