mirror of
https://github.com/bitnami/containers.git
synced 2026-03-21 23:38:32 +08:00
1.10.2-ol-7-r13 release
This commit is contained in:
@@ -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 ef147d69b97d735e099fe281f6e7270ad9d5101eb2a4aca364525b1776b2e6ae
|
||||
RUN bitnami-pkg install postgresql-client-10.7.0-0 --checksum 8984b9748b6b696ca687c769b324371132c01ea9b71b4773a3d199f1987a6761
|
||||
RUN bitnami-pkg unpack airflow-scheduler-1.10.2-2 --checksum fa8ce6f19fd61170062c7cbb27f2200f25c253109f72931c8554723568e206ec
|
||||
RUN bitnami-pkg unpack airflow-scheduler-1.10.2-3 --checksum 40d4a381bd2e9afdaacfff382ee6d4d0c5f2768f39c364ab6cdee7dd51d95177
|
||||
|
||||
COPY rootfs /
|
||||
RUN rpm -Uvh --nodeps $(repoquery --location nss_wrapper)
|
||||
@@ -28,7 +28,7 @@ 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-ol-7-r12" \
|
||||
BITNAMI_IMAGE_VERSION="1.10.2-ol-7-r13" \
|
||||
LD_LIBRARY_PATH="/opt/bitnami/airflow/venv/lib/python3.6/site-packages/numpy/.libs/:$LD_LIBRARY_PATH" \
|
||||
LD_PRELOAD="/usr/lib64/libnss_wrapper.so" \
|
||||
LNAME="airflow" \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -31,7 +31,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-ol-7`, `1.10.2-ol-7-r13` (1/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-airflow-scheduler/blob/1.10.2-ol-7-r13/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-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