Namespace
apache
Image / Tag
airflow:2.3.1-python3.8
Content Digest
sha256:d570a6344c187e312625bfefebd244620c6fbb3d5e13d808a9b0d7882ab54b18
Details
Created

2023-12-16 02:57:54 UTC

Size

295 MB

Content Digest
Labels
  • org.apache.airflow.component
    airflow
  • org.apache.airflow.distro
    debian
  • org.apache.airflow.image
    airflow
  • org.apache.airflow.main-image.build-id
  • org.apache.airflow.main-image.commit-sha
  • org.apache.airflow.module
    airflow
  • org.apache.airflow.uid
    50000
  • org.apache.airflow.version
    2.3.1
  • org.opencontainers.image.authors
    dev@airflow.apache.org
  • org.opencontainers.image.created
  • org.opencontainers.image.description
    Reference, production-ready Apache Airflow image
  • org.opencontainers.image.documentation
    https://airflow.apache.org/docs/docker-stack/index.html
  • org.opencontainers.image.licenses
    Apache-2.0
  • org.opencontainers.image.ref.name
    airflow
  • org.opencontainers.image.revision
  • org.opencontainers.image.source
    https://github.com/apache/airflow
  • org.opencontainers.image.title
    Production Airflow Image
  • org.opencontainers.image.url
    https://airflow.apache.org
  • org.opencontainers.image.vendor
    Apache Software Foundation
  • org.opencontainers.image.version
    2.3.1

Environment
ADDITIONAL_RUNTIME_APT_COMMAND

ADDITIONAL_RUNTIME_APT_DEPS

AIRFLOW_HOME

/opt/airflow

AIRFLOW_INSTALLATION_METHOD

AIRFLOW_PIP_VERSION

22.1.2

AIRFLOW_UID

50000

AIRFLOW_USER_HOME_DIR

/home/airflow

AIRFLOW_VERSION

2.3.1

AIRFLOW__CORE__LOAD_EXAMPLES

false

BUILD_ID

COMMIT_SHA

DEBIAN_FRONTEND

noninteractive

DUMB_INIT_SETSID

1

GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

GUNICORN_CMD_ARGS

--worker-tmp-dir /dev/shm

INSTALL_MSSQL_CLIENT

true

INSTALL_MYSQL_CLIENT

true

INSTALL_POSTGRES_CLIENT

true

LANG

C.UTF-8

LANGUAGE

C.UTF-8

LC_ALL

C.UTF-8

LC_CTYPE

C.UTF-8

LC_MESSAGES

C.UTF-8

PATH

/root/bin:/home/airflow/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PIP_USER

true

PS1

(airflow)

PYTHON_BASE_IMAGE

python:3.8-slim-bullseye

PYTHON_GET_PIP_SHA256

ba3ab8267d91fd41c58dbce08f76db99f747f716d85ce1865813842bb035524d

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/6ce3639da143c5d79b44f94b04080abf2531fd6e/public/get-pip.py

PYTHON_PIP_VERSION

22.0.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.13

RUNTIME_APT_COMMAND

echo

RUNTIME_APT_DEPS

apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc


Layers

[#000] sha256:42c077c10790d51b6f75c4eb895cbd4da37558f7215b39cbf64c46b288f89bda - 10.14% (29.9 MB)

[#001] sha256:f63e77b7563a55b430956c2f4e3353f3b64f44b7db333227aba414f49ad257ec - 0.35% (1.03 MB)

[#002] sha256:5215613c2da835d9b17d2edec26084b3e6a8ea798af7f9929333a556bca7510a - 3.66% (10.8 MB)

[#003] sha256:9ca2d4523a1456b76f1d848221139b25c7cf9aa431f4012b49f73e9f633e53dc - 0.0% (232 Bytes)

[#004] sha256:e97cee5830c41000b416004c85beb759137adc51eb2504b8f6f6fc861f416ce2 - 1.02% (3.02 MB)

[#005] sha256:372c0b6bc2bb791607aeb9ed2c061123fd43d8015ad6dda86bf158e35be024da - 0.0% (579 Bytes)

[#006] sha256:1cdbd9605725d15ac4a84dbd8ab5fedfb80fee1d9e4dbd9ba012d690beb47faf - 13.88% (41 MB)

[#007] sha256:80c118af713a9f73d094b75b42b245f995afa28e056b6a6be0d8c00a553efa0b - 0.0% (1.5 KB)

[#008] sha256:8d0dadb61970532bc5c8fec5fa1ef721887d1fbac23090d222827f84dae6f90d - 13.36% (39.4 MB)

[#009] sha256:0e96fc896151f8a7f89396d6363e82694cd07276bc7b76f2fab418359a866348 - 57.59% (170 MB)

[#010] sha256:58b8caf97fbd9d4c1f54a7d2d58feb452942745dd57d45a13e13530b21d46871 - 0.0% (3.74 KB)

[#011] sha256:f0e368df55fb3b0f4aadcf15688a555d4e5e7985bb69a546a683fd9df97393e9 - 0.0% (476 Bytes)

[#012] sha256:9589faaa482bd4db8d07c957ba74fc65ea70cdb82f756c1477e3a0952a06e2c1 - 0.0% (294 Bytes)

[#013] sha256:c6db00c35d279243fe51645336e419337a9d947cd293593ba0f51178a26cff9d - 0.0% (5.08 KB)

[#014] sha256:ed2bb2314a44e2c3f169a2a87309d304ca13302312966fdcf3f9b367a11edecc - 0.0% (541 Bytes)

[#015] sha256:a0e5b2da6a20cc056099afaa0a44b14d3780abb8aab31614d56a543f040d3011 - 0.0% (119 Bytes)

[#016] sha256:0257979817830eb4c663aac924320116ebd9c768a998ec32393d65e8ac3916ff - 0.0% (424 Bytes)

[#017] sha256:fac3dfa1146e27c894fee72394d20f2b3d7d7ab7335a31eaaa7cea942d52efd3 - 0.0% (423 Bytes)

[#018] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#019] sha256:7a96327f0a6d53740f293795023afcafb4a2018bc79838cbb5537d502fa2b262 - 0.0% (3.24 KB)

[#020] sha256:eece1ce7f8775d73dd7e10a5fde7d97f606e62fd828d95c529d9784b2a50c450 - 0.0% (173 Bytes)


History
2022-05-28 01:20:23 UTC

/bin/sh -c #(nop) ADD file:134f25aec8adf83cb940ba073a3409ca85dbb5ae592b704f95193e7d2539a3bc in /

2022-05-28 01:20:23 UTC

/bin/sh -c #(nop) CMD ["bash"]

2022-05-28 12:24:00 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2022-05-28 12:24:00 UTC

/bin/sh -c #(nop) ENV LANG=C.UTF-8

2022-05-28 12:24:05 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/*

2022-05-28 13:56:44 UTC

/bin/sh -c #(nop) ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2022-05-28 14:24:36 UTC

/bin/sh -c #(nop) ENV PYTHON_VERSION=3.8.13

2022-05-28 14:30:53 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg dirmngr libbluetooth-dev libbz2-dev libc6-dev libexpat1-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; command -v gpgconf > /dev/null && gpgconf --kill all || :; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-system-expat --without-ensurepip ; nproc="$(nproc)"; make -j "$nproc" LDFLAGS="-Wl,--strip-all" ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -exec rm -rf '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; python3 --version

2022-05-28 14:30:53 UTC

/bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done

2022-05-28 14:30:53 UTC

/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=22.0.4

2022-05-28 14:30:54 UTC

/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2022-06-02 20:16:56 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/6ce3639da143c5d79b44f94b04080abf2531fd6e/public/get-pip.py

2022-06-02 20:16:56 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=ba3ab8267d91fd41c58dbce08f76db99f747f716d85ce1865813842bb035524d

2022-06-02 20:17:07 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version

2022-06-02 20:17:07 UTC

/bin/sh -c #(nop) CMD ["python3"]

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

SHELL [/bin/bash -o pipefail -o errexit -o nounset -o nolog -c]

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_UID

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

LABEL org.apache.airflow.distro=debian org.apache.airflow.module=airflow org.apache.airflow.component=airflow org.apache.airflow.image=airflow org.apache.airflow.uid=50000

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

ARG PYTHON_BASE_IMAGE

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_PIP_VERSION

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

ENV PYTHON_BASE_IMAGE=python:3.8-slim-bullseye DEBIAN_FRONTEND=noninteractive LANGUAGE=C.UTF-8 LANG=C.UTF-8 LC_ALL=C.UTF-8 LC_CTYPE=C.UTF-8 LC_MESSAGES=C.UTF-8 AIRFLOW_PIP_VERSION=22.1.2

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

ARG RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

ARG ADDITIONAL_RUNTIME_APT_DEPS=

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

ARG RUNTIME_APT_COMMAND=echo

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

ARG ADDITIONAL_RUNTIME_APT_COMMAND=

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

ARG ADDITIONAL_RUNTIME_APT_ENV=

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

ARG INSTALL_MYSQL_CLIENT=true

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

ARG INSTALL_MSSQL_CLIENT=true

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

ARG INSTALL_POSTGRES_CLIENT=true

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

ENV RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc ADDITIONAL_RUNTIME_APT_DEPS= RUNTIME_APT_COMMAND=echo ADDITIONAL_RUNTIME_APT_COMMAND= INSTALL_MYSQL_CLIENT=true INSTALL_MSSQL_CLIENT=true INSTALL_POSTGRES_CLIENT=true GUNICORN_CMD_ARGS=--worker-tmp-dir /dev/shm AIRFLOW_INSTALLATION_METHOD=

2022-06-17 10:58:39 UTC (buildkit.dockerfile.v0)

COPY determine_debian_version_specific_variables.sh /scripts/docker/ # buildkit

2022-06-17 10:58:55 UTC (buildkit.dockerfile.v0)

RUN |11 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=22.1.2 RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc ADDITIONAL_RUNTIME_APT_DEPS= RUNTIME_APT_COMMAND=echo ADDITIONAL_RUNTIME_APT_COMMAND= ADDITIONAL_RUNTIME_APT_ENV= INSTALL_MYSQL_CLIENT=true INSTALL_MSSQL_CLIENT=true INSTALL_POSTGRES_CLIENT=true /bin/bash -o pipefail -o errexit -o nounset -o nolog -c apt-get update && apt-get install --no-install-recommends -yqq apt-utils >/dev/null 2>&1 && apt-get install -y --no-install-recommends curl gnupg2 lsb-release && export ${ADDITIONAL_RUNTIME_APT_ENV?} && source /scripts/docker/determine_debian_version_specific_variables.sh && bash -o pipefail -o errexit -o nounset -o nolog -c "${RUNTIME_APT_COMMAND}" && bash -o pipefail -o errexit -o nounset -o nolog -c "${ADDITIONAL_RUNTIME_APT_COMMAND}" && apt-get update && apt-get install -y --no-install-recommends ${RUNTIME_APT_DEPS} "${DISTRO_LIBFFI}" ${ADDITIONAL_RUNTIME_APT_DEPS} && apt-get autoremove -yqq --purge && apt-get clean && rm -rf /var/lib/apt/lists/* && rm -rf /var/log/* # buildkit

2022-06-17 10:58:55 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_INSTALLATION_METHOD=apache-airflow

2022-06-17 10:58:55 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_REPOSITORY

2022-06-17 10:58:55 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_README_URL

2022-06-17 10:58:55 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_USER_HOME_DIR

2022-06-17 10:58:55 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_HOME

2022-06-17 10:58:55 UTC (buildkit.dockerfile.v0)

ENV PATH=/home/airflow/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin AIRFLOW_UID=50000 AIRFLOW_USER_HOME_DIR=/home/airflow AIRFLOW_HOME=/opt/airflow

2022-06-17 10:58:55 UTC (buildkit.dockerfile.v0)

COPY install_mysql.sh install_mssql.sh install_postgres.sh /scripts/docker/ # buildkit

2022-06-17 10:59:25 UTC (buildkit.dockerfile.v0)

RUN |16 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=22.1.2 RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc ADDITIONAL_RUNTIME_APT_DEPS= RUNTIME_APT_COMMAND=echo ADDITIONAL_RUNTIME_APT_COMMAND= ADDITIONAL_RUNTIME_APT_ENV= INSTALL_MYSQL_CLIENT=true INSTALL_MSSQL_CLIENT=true INSTALL_POSTGRES_CLIENT=true AIRFLOW_INSTALLATION_METHOD=apache-airflow AIRFLOW_IMAGE_REPOSITORY=https://github.com/apache/airflow AIRFLOW_IMAGE_README_URL=https://raw.githubusercontent.com/apache/airflow/main/docs/docker-stack/README.md AIRFLOW_USER_HOME_DIR=/home/airflow AIRFLOW_HOME=/opt/airflow /bin/bash -o pipefail -o errexit -o nounset -o nolog -c bash /scripts/docker/install_mysql.sh prod && bash /scripts/docker/install_mssql.sh && bash /scripts/docker/install_postgres.sh prod && adduser --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --disabled-password --quiet "airflow" --uid "${AIRFLOW_UID}" --gid "0" --home "${AIRFLOW_USER_HOME_DIR}" && mkdir -pv "${AIRFLOW_HOME}" && mkdir -pv "${AIRFLOW_HOME}/dags" && mkdir -pv "${AIRFLOW_HOME}/logs" && chown -R airflow:0 "${AIRFLOW_USER_HOME_DIR}" "${AIRFLOW_HOME}" && chmod -R g+rw "${AIRFLOW_USER_HOME_DIR}" "${AIRFLOW_HOME}" && find "${AIRFLOW_HOME}" -executable -print0 | xargs --null chmod g+x && find "${AIRFLOW_USER_HOME_DIR}" -executable -print0 | xargs --null chmod g+x # buildkit

2022-06-17 11:01:57 UTC (buildkit.dockerfile.v0)

COPY /home/airflow/.local /home/airflow/.local # buildkit

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

COPY entrypoint_prod.sh /entrypoint # buildkit

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

COPY clean-logs.sh /clean-logs # buildkit

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

COPY airflow-scheduler-autorestart.sh /airflow-scheduler-autorestart # buildkit

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

RUN |16 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=22.1.2 RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc ADDITIONAL_RUNTIME_APT_DEPS= RUNTIME_APT_COMMAND=echo ADDITIONAL_RUNTIME_APT_COMMAND= ADDITIONAL_RUNTIME_APT_ENV= INSTALL_MYSQL_CLIENT=true INSTALL_MSSQL_CLIENT=true INSTALL_POSTGRES_CLIENT=true AIRFLOW_INSTALLATION_METHOD=apache-airflow AIRFLOW_IMAGE_REPOSITORY=https://github.com/apache/airflow AIRFLOW_IMAGE_README_URL=https://raw.githubusercontent.com/apache/airflow/main/docs/docker-stack/README.md AIRFLOW_USER_HOME_DIR=/home/airflow AIRFLOW_HOME=/opt/airflow /bin/bash -o pipefail -o errexit -o nounset -o nolog -c chmod a+rx /entrypoint /clean-logs && chmod g=u /etc/passwd && chmod g+w "${AIRFLOW_USER_HOME_DIR}/.local" && usermod -g 0 airflow -G 0 # buildkit

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

RUN |16 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=22.1.2 RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc ADDITIONAL_RUNTIME_APT_DEPS= RUNTIME_APT_COMMAND=echo ADDITIONAL_RUNTIME_APT_COMMAND= ADDITIONAL_RUNTIME_APT_ENV= INSTALL_MYSQL_CLIENT=true INSTALL_MSSQL_CLIENT=true INSTALL_POSTGRES_CLIENT=true AIRFLOW_INSTALLATION_METHOD=apache-airflow AIRFLOW_IMAGE_REPOSITORY=https://github.com/apache/airflow AIRFLOW_IMAGE_README_URL=https://raw.githubusercontent.com/apache/airflow/main/docs/docker-stack/README.md AIRFLOW_USER_HOME_DIR=/home/airflow AIRFLOW_HOME=/opt/airflow /bin/bash -o pipefail -o errexit -o nounset -o nolog -c sed --in-place=.bak "s/secure_path=\"/secure_path=\"\/.venv\/bin:/" /etc/sudoers # buildkit

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_VERSION

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

ENV DUMB_INIT_SETSID=1 PS1=(airflow) AIRFLOW_VERSION=2.3.1 AIRFLOW__CORE__LOAD_EXAMPLES=false PIP_USER=true PATH=/root/bin:/home/airflow/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

RUN |17 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=22.1.2 RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc ADDITIONAL_RUNTIME_APT_DEPS= RUNTIME_APT_COMMAND=echo ADDITIONAL_RUNTIME_APT_COMMAND= ADDITIONAL_RUNTIME_APT_ENV= INSTALL_MYSQL_CLIENT=true INSTALL_MSSQL_CLIENT=true INSTALL_POSTGRES_CLIENT=true AIRFLOW_INSTALLATION_METHOD=apache-airflow AIRFLOW_IMAGE_REPOSITORY=https://github.com/apache/airflow AIRFLOW_IMAGE_README_URL=https://raw.githubusercontent.com/apache/airflow/main/docs/docker-stack/README.md AIRFLOW_USER_HOME_DIR=/home/airflow AIRFLOW_HOME=/opt/airflow AIRFLOW_VERSION=2.3.1 /bin/bash -o pipefail -o errexit -o nounset -o nolog -c mkdir -pv /root/bin # buildkit

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

COPY pip /root/bin/pip # buildkit

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

RUN |17 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=22.1.2 RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc ADDITIONAL_RUNTIME_APT_DEPS= RUNTIME_APT_COMMAND=echo ADDITIONAL_RUNTIME_APT_COMMAND= ADDITIONAL_RUNTIME_APT_ENV= INSTALL_MYSQL_CLIENT=true INSTALL_MSSQL_CLIENT=true INSTALL_POSTGRES_CLIENT=true AIRFLOW_INSTALLATION_METHOD=apache-airflow AIRFLOW_IMAGE_REPOSITORY=https://github.com/apache/airflow AIRFLOW_IMAGE_README_URL=https://raw.githubusercontent.com/apache/airflow/main/docs/docker-stack/README.md AIRFLOW_USER_HOME_DIR=/home/airflow AIRFLOW_HOME=/opt/airflow AIRFLOW_VERSION=2.3.1 /bin/bash -o pipefail -o errexit -o nounset -o nolog -c chmod u+x /root/bin/pip # buildkit

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/airflow

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

USER 50000

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

ARG BUILD_ID

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_REPOSITORY

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_DATE_CREATED

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

ENV BUILD_ID= COMMIT_SHA=

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

LABEL org.apache.airflow.distro=debian org.apache.airflow.module=airflow org.apache.airflow.component=airflow org.apache.airflow.image=airflow org.apache.airflow.version=2.3.1 org.apache.airflow.uid=50000 org.apache.airflow.main-image.build-id= org.apache.airflow.main-image.commit-sha= org.opencontainers.image.source=https://github.com/apache/airflow org.opencontainers.image.created= org.opencontainers.image.authors=dev@airflow.apache.org org.opencontainers.image.url=https://airflow.apache.org org.opencontainers.image.documentation=https://airflow.apache.org/docs/docker-stack/index.html org.opencontainers.image.version=2.3.1 org.opencontainers.image.revision= org.opencontainers.image.vendor=Apache Software Foundation org.opencontainers.image.licenses=Apache-2.0 org.opencontainers.image.ref.name=airflow org.opencontainers.image.title=Production Airflow Image org.opencontainers.image.description=Reference, production-ready Apache Airflow image

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/usr/bin/dumb-init" "--" "/entrypoint"]

2022-06-17 11:01:58 UTC (buildkit.dockerfile.v0)

CMD []

2023-12-16 02:57:54 UTC (buildkit.dockerfile.v0)

USER root

2023-12-16 02:57:54 UTC (buildkit.dockerfile.v0)

RUN /bin/bash -o pipefail -o errexit -o nounset -o nolog -c apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B7B3B788A8D3785C && gpg --export "B7B3B788A8D3785C" > "/etc/apt/trusted.gpg.d/mysql.gpg" # buildkit

2023-12-16 02:57:54 UTC (buildkit.dockerfile.v0)

RUN /bin/bash -o pipefail -o errexit -o nounset -o nolog -c rm /etc/apt/sources.list.d/mysql.list || true # buildkit

2023-12-16 02:57:54 UTC (buildkit.dockerfile.v0)

USER airflow

Details
Created

2023-12-16 02:57:54 UTC

Size

290 MB

Content Digest
Labels
  • org.apache.airflow.component
    airflow
  • org.apache.airflow.distro
    debian
  • org.apache.airflow.image
    airflow
  • org.apache.airflow.main-image.build-id
  • org.apache.airflow.main-image.commit-sha
  • org.apache.airflow.module
    airflow
  • org.apache.airflow.uid
    50000
  • org.apache.airflow.version
    2.3.1
  • org.opencontainers.image.authors
    dev@airflow.apache.org
  • org.opencontainers.image.created
  • org.opencontainers.image.description
    Reference, production-ready Apache Airflow image
  • org.opencontainers.image.documentation
    https://airflow.apache.org/docs/docker-stack/index.html
  • org.opencontainers.image.licenses
    Apache-2.0
  • org.opencontainers.image.ref.name
    airflow
  • org.opencontainers.image.revision
  • org.opencontainers.image.source
    https://github.com/apache/airflow
  • org.opencontainers.image.title
    Production Airflow Image
  • org.opencontainers.image.url
    https://airflow.apache.org
  • org.opencontainers.image.vendor
    Apache Software Foundation
  • org.opencontainers.image.version
    2.3.1

Environment
ADDITIONAL_RUNTIME_APT_COMMAND

ADDITIONAL_RUNTIME_APT_DEPS

AIRFLOW_HOME

/opt/airflow

AIRFLOW_INSTALLATION_METHOD

AIRFLOW_PIP_VERSION

22.1.2

AIRFLOW_UID

50000

AIRFLOW_USER_HOME_DIR

/home/airflow

AIRFLOW_VERSION

2.3.1

AIRFLOW__CORE__LOAD_EXAMPLES

false

BUILD_ID

COMMIT_SHA

DEBIAN_FRONTEND

noninteractive

DUMB_INIT_SETSID

1

GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

GUNICORN_CMD_ARGS

--worker-tmp-dir /dev/shm

INSTALL_MSSQL_CLIENT

true

INSTALL_MYSQL_CLIENT

true

INSTALL_POSTGRES_CLIENT

true

LANG

C.UTF-8

LANGUAGE

C.UTF-8

LC_ALL

C.UTF-8

LC_CTYPE

C.UTF-8

LC_MESSAGES

C.UTF-8

PATH

/root/bin:/home/airflow/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PIP_USER

true

PS1

(airflow)

PYTHON_BASE_IMAGE

python:3.8-slim-bullseye

PYTHON_GET_PIP_SHA256

ba3ab8267d91fd41c58dbce08f76db99f747f716d85ce1865813842bb035524d

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/6ce3639da143c5d79b44f94b04080abf2531fd6e/public/get-pip.py

PYTHON_PIP_VERSION

22.0.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.13

RUNTIME_APT_COMMAND

echo

RUNTIME_APT_DEPS

apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc


Layers

[#000] sha256:dc1f00a5d701e86e2cd2568b860c61b393d66be1341e7267d07e6e57448ceeba - 9.9% (28.7 MB)

[#001] sha256:a2bfcfb5c8a764417a5f66c22e4ec952cb7b40f364b689c0d1e3cb907333ee76 - 0.28% (839 KB)

[#002] sha256:eb8a6945f6bb45b031210f273a48ed560e98f8270fc0f6853014e6115c8ba0e3 - 3.73% (10.8 MB)

[#003] sha256:f0c8f2c046b645b7baa8b1dfbcb5e10ffa0ad4b4b37ff65f1a10a8e5c6d72ef8 - 0.0% (233 Bytes)

[#004] sha256:72e282be432d3d807115432b8a22940d3d66bd10a4b81850e089267f3cbc4484 - 0.97% (2.81 MB)

[#005] sha256:369b14d91bcd4e5c567819c983c57c308fab10fb69f9127da9da6404296a07b4 - 0.0% (579 Bytes)

[#006] sha256:ead9f99deb66709266efd6d83316a7fe47a010905a314bc803859416ec970c89 - 14.09% (40.8 MB)

[#007] sha256:eab7ffed79c54f250cfe86e9ae090df5b547c7cac1824322bc51184b1684b71f - 0.0% (1.5 KB)

[#008] sha256:3ec8354a0173696b4e61b5819e96dbb4550ec1daa48bebe7109546a3daf28774 - 4.35% (12.6 MB)

[#009] sha256:b77bcf518a1b602b098a1347c47ce9ba61c48b2c14856203c50c593806882115 - 66.68% (193 MB)

[#010] sha256:dbb105b5c7eecd99417fa24d73f4cf9a668b059f7b58ed9580531ef5d964714f - 0.0% (3.74 KB)

[#011] sha256:b5eead4438a791e2d874e9ea3c2fe03fbeda03f27f7e977f8552b8755f8914ea - 0.0% (475 Bytes)

[#012] sha256:a019fcfb7cd96fed698b6a2f7ec9fb9b930a9fac57e0c93acdea34c618c160c9 - 0.0% (295 Bytes)

[#013] sha256:cec2b6a0154a889fa9d764b5a66a4e2b71da0fed55db483cbc47095c478f0be1 - 0.0% (5.08 KB)

[#014] sha256:f8b1796342429c690e6f9e75a146204429c4ad5644fbbb5b98b96dd58b119950 - 0.0% (542 Bytes)

[#015] sha256:f6b5f0ed0b055d58533445d24782df3c327b98725db8ab6c65f12e0fae643082 - 0.0% (119 Bytes)

[#016] sha256:5654dadcf528b772a841ab5e143588be8962b3a0c3e8cce6ae3cde102a67555a - 0.0% (425 Bytes)

[#017] sha256:ab3d4f9696b7489d5e96792e7ffac904f15240aa1e5cdce2e72d2eac12ffd77c - 0.0% (424 Bytes)

[#018] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#019] sha256:98794f0ddb5954cfd7f3cb5c8231d0c7920d8804b8797575361d0a498bb326c9 - 0.0% (2.56 KB)

[#020] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2022-05-28 00:40:39 UTC

/bin/sh -c #(nop) ADD file:55b4fe3115c684f545e4e4148c93745f12192976a08c37d090fcac708fb709a7 in /

2022-05-28 00:40:39 UTC

/bin/sh -c #(nop) CMD ["bash"]

2022-05-28 07:37:34 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2022-05-28 07:37:35 UTC

/bin/sh -c #(nop) ENV LANG=C.UTF-8

2022-05-28 07:37:43 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/*

2022-05-28 08:35:26 UTC

/bin/sh -c #(nop) ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2022-05-28 08:42:39 UTC

/bin/sh -c #(nop) ENV PYTHON_VERSION=3.8.13

2022-05-28 08:47:50 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg dirmngr libbluetooth-dev libbz2-dev libc6-dev libexpat1-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; command -v gpgconf > /dev/null && gpgconf --kill all || :; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-system-expat --without-ensurepip ; nproc="$(nproc)"; make -j "$nproc" LDFLAGS="-Wl,--strip-all" ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -exec rm -rf '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; python3 --version

2022-05-28 08:47:51 UTC

/bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done

2022-05-28 08:47:52 UTC

/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=22.0.4

2022-05-28 08:47:53 UTC

/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2022-06-02 20:25:58 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/6ce3639da143c5d79b44f94b04080abf2531fd6e/public/get-pip.py

2022-06-02 20:25:59 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=ba3ab8267d91fd41c58dbce08f76db99f747f716d85ce1865813842bb035524d

2022-06-02 20:26:12 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version

2022-06-02 20:26:12 UTC

/bin/sh -c #(nop) CMD ["python3"]

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

SHELL [/bin/bash -o pipefail -o errexit -o nounset -o nolog -c]

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_UID

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

LABEL org.apache.airflow.distro=debian org.apache.airflow.module=airflow org.apache.airflow.component=airflow org.apache.airflow.image=airflow org.apache.airflow.uid=50000

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

ARG PYTHON_BASE_IMAGE

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_PIP_VERSION

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

ENV PYTHON_BASE_IMAGE=python:3.8-slim-bullseye DEBIAN_FRONTEND=noninteractive LANGUAGE=C.UTF-8 LANG=C.UTF-8 LC_ALL=C.UTF-8 LC_CTYPE=C.UTF-8 LC_MESSAGES=C.UTF-8 AIRFLOW_PIP_VERSION=22.1.2

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

ARG RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

ARG ADDITIONAL_RUNTIME_APT_DEPS=

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

ARG RUNTIME_APT_COMMAND=echo

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

ARG ADDITIONAL_RUNTIME_APT_COMMAND=

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

ARG ADDITIONAL_RUNTIME_APT_ENV=

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

ARG INSTALL_MYSQL_CLIENT=true

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

ARG INSTALL_MSSQL_CLIENT=true

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

ARG INSTALL_POSTGRES_CLIENT=true

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

ENV RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc ADDITIONAL_RUNTIME_APT_DEPS= RUNTIME_APT_COMMAND=echo ADDITIONAL_RUNTIME_APT_COMMAND= INSTALL_MYSQL_CLIENT=true INSTALL_MSSQL_CLIENT=true INSTALL_POSTGRES_CLIENT=true GUNICORN_CMD_ARGS=--worker-tmp-dir /dev/shm AIRFLOW_INSTALLATION_METHOD=

2022-06-17 10:58:42 UTC (buildkit.dockerfile.v0)

COPY determine_debian_version_specific_variables.sh /scripts/docker/ # buildkit

2022-06-17 10:59:02 UTC (buildkit.dockerfile.v0)

RUN |11 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=22.1.2 RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc ADDITIONAL_RUNTIME_APT_DEPS= RUNTIME_APT_COMMAND=echo ADDITIONAL_RUNTIME_APT_COMMAND= ADDITIONAL_RUNTIME_APT_ENV= INSTALL_MYSQL_CLIENT=true INSTALL_MSSQL_CLIENT=true INSTALL_POSTGRES_CLIENT=true /bin/bash -o pipefail -o errexit -o nounset -o nolog -c apt-get update && apt-get install --no-install-recommends -yqq apt-utils >/dev/null 2>&1 && apt-get install -y --no-install-recommends curl gnupg2 lsb-release && export ${ADDITIONAL_RUNTIME_APT_ENV?} && source /scripts/docker/determine_debian_version_specific_variables.sh && bash -o pipefail -o errexit -o nounset -o nolog -c "${RUNTIME_APT_COMMAND}" && bash -o pipefail -o errexit -o nounset -o nolog -c "${ADDITIONAL_RUNTIME_APT_COMMAND}" && apt-get update && apt-get install -y --no-install-recommends ${RUNTIME_APT_DEPS} "${DISTRO_LIBFFI}" ${ADDITIONAL_RUNTIME_APT_DEPS} && apt-get autoremove -yqq --purge && apt-get clean && rm -rf /var/lib/apt/lists/* && rm -rf /var/log/* # buildkit

2022-06-17 10:59:02 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_INSTALLATION_METHOD=apache-airflow

2022-06-17 10:59:02 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_REPOSITORY

2022-06-17 10:59:02 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_README_URL

2022-06-17 10:59:02 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_USER_HOME_DIR

2022-06-17 10:59:02 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_HOME

2022-06-17 10:59:02 UTC (buildkit.dockerfile.v0)

ENV PATH=/home/airflow/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin AIRFLOW_UID=50000 AIRFLOW_USER_HOME_DIR=/home/airflow AIRFLOW_HOME=/opt/airflow

2022-06-17 10:59:02 UTC (buildkit.dockerfile.v0)

COPY install_mysql.sh install_mssql.sh install_postgres.sh /scripts/docker/ # buildkit

2022-06-17 10:59:13 UTC (buildkit.dockerfile.v0)

RUN |16 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=22.1.2 RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc ADDITIONAL_RUNTIME_APT_DEPS= RUNTIME_APT_COMMAND=echo ADDITIONAL_RUNTIME_APT_COMMAND= ADDITIONAL_RUNTIME_APT_ENV= INSTALL_MYSQL_CLIENT=true INSTALL_MSSQL_CLIENT=true INSTALL_POSTGRES_CLIENT=true AIRFLOW_INSTALLATION_METHOD=apache-airflow AIRFLOW_IMAGE_REPOSITORY=https://github.com/apache/airflow AIRFLOW_IMAGE_README_URL=https://raw.githubusercontent.com/apache/airflow/main/docs/docker-stack/README.md AIRFLOW_USER_HOME_DIR=/home/airflow AIRFLOW_HOME=/opt/airflow /bin/bash -o pipefail -o errexit -o nounset -o nolog -c bash /scripts/docker/install_mysql.sh prod && bash /scripts/docker/install_mssql.sh && bash /scripts/docker/install_postgres.sh prod && adduser --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --disabled-password --quiet "airflow" --uid "${AIRFLOW_UID}" --gid "0" --home "${AIRFLOW_USER_HOME_DIR}" && mkdir -pv "${AIRFLOW_HOME}" && mkdir -pv "${AIRFLOW_HOME}/dags" && mkdir -pv "${AIRFLOW_HOME}/logs" && chown -R airflow:0 "${AIRFLOW_USER_HOME_DIR}" "${AIRFLOW_HOME}" && chmod -R g+rw "${AIRFLOW_USER_HOME_DIR}" "${AIRFLOW_HOME}" && find "${AIRFLOW_HOME}" -executable -print0 | xargs --null chmod g+x && find "${AIRFLOW_USER_HOME_DIR}" -executable -print0 | xargs --null chmod g+x # buildkit

2022-06-17 11:02:40 UTC (buildkit.dockerfile.v0)

COPY /home/airflow/.local /home/airflow/.local # buildkit

2022-06-17 11:02:40 UTC (buildkit.dockerfile.v0)

COPY entrypoint_prod.sh /entrypoint # buildkit

2022-06-17 11:02:40 UTC (buildkit.dockerfile.v0)

COPY clean-logs.sh /clean-logs # buildkit

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

COPY airflow-scheduler-autorestart.sh /airflow-scheduler-autorestart # buildkit

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

RUN |16 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=22.1.2 RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc ADDITIONAL_RUNTIME_APT_DEPS= RUNTIME_APT_COMMAND=echo ADDITIONAL_RUNTIME_APT_COMMAND= ADDITIONAL_RUNTIME_APT_ENV= INSTALL_MYSQL_CLIENT=true INSTALL_MSSQL_CLIENT=true INSTALL_POSTGRES_CLIENT=true AIRFLOW_INSTALLATION_METHOD=apache-airflow AIRFLOW_IMAGE_REPOSITORY=https://github.com/apache/airflow AIRFLOW_IMAGE_README_URL=https://raw.githubusercontent.com/apache/airflow/main/docs/docker-stack/README.md AIRFLOW_USER_HOME_DIR=/home/airflow AIRFLOW_HOME=/opt/airflow /bin/bash -o pipefail -o errexit -o nounset -o nolog -c chmod a+rx /entrypoint /clean-logs && chmod g=u /etc/passwd && chmod g+w "${AIRFLOW_USER_HOME_DIR}/.local" && usermod -g 0 airflow -G 0 # buildkit

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

RUN |16 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=22.1.2 RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc ADDITIONAL_RUNTIME_APT_DEPS= RUNTIME_APT_COMMAND=echo ADDITIONAL_RUNTIME_APT_COMMAND= ADDITIONAL_RUNTIME_APT_ENV= INSTALL_MYSQL_CLIENT=true INSTALL_MSSQL_CLIENT=true INSTALL_POSTGRES_CLIENT=true AIRFLOW_INSTALLATION_METHOD=apache-airflow AIRFLOW_IMAGE_REPOSITORY=https://github.com/apache/airflow AIRFLOW_IMAGE_README_URL=https://raw.githubusercontent.com/apache/airflow/main/docs/docker-stack/README.md AIRFLOW_USER_HOME_DIR=/home/airflow AIRFLOW_HOME=/opt/airflow /bin/bash -o pipefail -o errexit -o nounset -o nolog -c sed --in-place=.bak "s/secure_path=\"/secure_path=\"\/.venv\/bin:/" /etc/sudoers # buildkit

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_VERSION

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

ENV DUMB_INIT_SETSID=1 PS1=(airflow) AIRFLOW_VERSION=2.3.1 AIRFLOW__CORE__LOAD_EXAMPLES=false PIP_USER=true PATH=/root/bin:/home/airflow/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

RUN |17 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=22.1.2 RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc ADDITIONAL_RUNTIME_APT_DEPS= RUNTIME_APT_COMMAND=echo ADDITIONAL_RUNTIME_APT_COMMAND= ADDITIONAL_RUNTIME_APT_ENV= INSTALL_MYSQL_CLIENT=true INSTALL_MSSQL_CLIENT=true INSTALL_POSTGRES_CLIENT=true AIRFLOW_INSTALLATION_METHOD=apache-airflow AIRFLOW_IMAGE_REPOSITORY=https://github.com/apache/airflow AIRFLOW_IMAGE_README_URL=https://raw.githubusercontent.com/apache/airflow/main/docs/docker-stack/README.md AIRFLOW_USER_HOME_DIR=/home/airflow AIRFLOW_HOME=/opt/airflow AIRFLOW_VERSION=2.3.1 /bin/bash -o pipefail -o errexit -o nounset -o nolog -c mkdir -pv /root/bin # buildkit

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

COPY pip /root/bin/pip # buildkit

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

RUN |17 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=22.1.2 RUNTIME_APT_DEPS= apt-transport-https apt-utils ca-certificates curl dumb-init freetds-bin gosu krb5-user ldap-utils libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales lsb-release netcat openssh-client rsync sasl2-bin sqlite3 sudo unixodbc ADDITIONAL_RUNTIME_APT_DEPS= RUNTIME_APT_COMMAND=echo ADDITIONAL_RUNTIME_APT_COMMAND= ADDITIONAL_RUNTIME_APT_ENV= INSTALL_MYSQL_CLIENT=true INSTALL_MSSQL_CLIENT=true INSTALL_POSTGRES_CLIENT=true AIRFLOW_INSTALLATION_METHOD=apache-airflow AIRFLOW_IMAGE_REPOSITORY=https://github.com/apache/airflow AIRFLOW_IMAGE_README_URL=https://raw.githubusercontent.com/apache/airflow/main/docs/docker-stack/README.md AIRFLOW_USER_HOME_DIR=/home/airflow AIRFLOW_HOME=/opt/airflow AIRFLOW_VERSION=2.3.1 /bin/bash -o pipefail -o errexit -o nounset -o nolog -c chmod u+x /root/bin/pip # buildkit

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/airflow

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

USER 50000

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

ARG BUILD_ID

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_REPOSITORY

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_DATE_CREATED

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

ENV BUILD_ID= COMMIT_SHA=

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

LABEL org.apache.airflow.distro=debian org.apache.airflow.module=airflow org.apache.airflow.component=airflow org.apache.airflow.image=airflow org.apache.airflow.version=2.3.1 org.apache.airflow.uid=50000 org.apache.airflow.main-image.build-id= org.apache.airflow.main-image.commit-sha= org.opencontainers.image.source=https://github.com/apache/airflow org.opencontainers.image.created= org.opencontainers.image.authors=dev@airflow.apache.org org.opencontainers.image.url=https://airflow.apache.org org.opencontainers.image.documentation=https://airflow.apache.org/docs/docker-stack/index.html org.opencontainers.image.version=2.3.1 org.opencontainers.image.revision= org.opencontainers.image.vendor=Apache Software Foundation org.opencontainers.image.licenses=Apache-2.0 org.opencontainers.image.ref.name=airflow org.opencontainers.image.title=Production Airflow Image org.opencontainers.image.description=Reference, production-ready Apache Airflow image

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/usr/bin/dumb-init" "--" "/entrypoint"]

2022-06-17 11:02:41 UTC (buildkit.dockerfile.v0)

CMD []

2023-12-16 02:57:54 UTC (buildkit.dockerfile.v0)

USER root

2023-12-16 02:57:54 UTC (buildkit.dockerfile.v0)

RUN /bin/bash -o pipefail -o errexit -o nounset -o nolog -c apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B7B3B788A8D3785C && gpg --export "B7B3B788A8D3785C" > "/etc/apt/trusted.gpg.d/mysql.gpg" # buildkit

2023-12-16 02:57:54 UTC (buildkit.dockerfile.v0)

RUN /bin/bash -o pipefail -o errexit -o nounset -o nolog -c rm /etc/apt/sources.list.d/mysql.list || true # buildkit

2023-12-16 02:57:54 UTC (buildkit.dockerfile.v0)

USER airflow

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete