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

2023-12-15 19:36:36 UTC

Size

383 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
    b8c416681c529aad3ef744c193f6e0435c4d0d93
  • org.apache.airflow.module
    airflow
  • org.apache.airflow.uid
    50000
  • org.apache.airflow.version
    2.7.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
    b8c416681c529aad3ef744c193f6e0435c4d0d93
  • 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.7.1

Environment
ADDITIONAL_RUNTIME_APT_COMMAND

ADDITIONAL_RUNTIME_APT_DEPS

AIRFLOW_HOME

/opt/airflow

AIRFLOW_INSTALLATION_METHOD

AIRFLOW_PIP_VERSION

23.2.1

AIRFLOW_UID

50000

AIRFLOW_USER_HOME_DIR

/home/airflow

AIRFLOW_VERSION

2.7.1

AIRFLOW__CORE__LOAD_EXAMPLES

false

BUILD_ID

COMMIT_SHA

b8c416681c529aad3ef744c193f6e0435c4d0d93

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

LD_LIBRARY_PATH

/usr/local/lib

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

45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.18

RUNTIME_APT_COMMAND

echo

RUNTIME_APT_DEPS


Layers

[#000] sha256:7d97e254a0461b0a30b3f443f1daa0d620a3cc6ff4e2714cc1cfd96ace5b7a7e - 7.82% (30 MB)

[#001] sha256:b48a7335bd4caff937418ddbadb974c9e0f8f6e2a6c26af21a82e328d4ed7cd7 - 0.27% (1.03 MB)

[#002] sha256:92054f56b2e7e0bab4ba636204538fdaa8c403705712ff4b599a6a3daf1df2ea - 3.21% (12.3 MB)

[#003] sha256:f1134da3aeec69179395ff7c36d55f0325c38aa0311a7bb15888b2dc14003e2f - 0.0% (244 Bytes)

[#004] sha256:1f80b77e725b3219d9cb8211d4e5e5fd93ffebe7c802359687739af7359dc83f - 0.78% (3 MB)

[#005] sha256:ddabc590b0b2ee4a2051fd70093be5910d2a2d978f9c6811bd90b7f76b60fa62 - 0.0% (1.25 KB)

[#006] sha256:3ab84bbe5970d6928e692eabbe37f0e5a6b1b19a940dc5d5f51be12cb501e0e1 - 14.53% (55.7 MB)

[#007] sha256:43750accd9ece2fd367ac14bedd66965ebd6baf07fc2afaf9764f223ef5fecc2 - 0.0% (969 Bytes)

[#008] sha256:8d547a13ec2f6024fe2d3a3430690e6324266e0297a5241406c4fc6fd11ab3fa - 0.0% (2.45 KB)

[#009] sha256:632860bf44ba95de97b4236417e06b43ab09b081f25eb3c77bd9aa5b27db57ad - 11.18% (42.8 MB)

[#010] sha256:7d49aec9d47d2280a62c05e72a77ddb41835a3d51e839798796db90dbf33f958 - 62.2% (238 MB)

[#011] sha256:08a1c9932ca09d9051a465e7cf63bd8b70cb15aa4c9c62a853387470752edb35 - 0.0% (3.78 KB)

[#012] sha256:77ad20002508b4d71662fbede4466cbd851b1d3d62c683716d03a55906d54c14 - 0.0% (472 Bytes)

[#013] sha256:85d5cab49ceaf9210f2dec2c8117ada629f72a1fcdcefe00de5eaca30474d641 - 0.0% (290 Bytes)

[#014] sha256:b48e716fc19b080301ccb9126d1714151662db7ea01850c36062060720ca8441 - 0.0% (5.12 KB)

[#015] sha256:ab5f5395df0a8cdffc523277cc05f2e149f85deab817e82e04fa43b164641c43 - 0.0% (537 Bytes)

[#016] sha256:d18e2194d15f896b51ed3f2695ae673e10bdc6e797789bafef8d7d19fb134d75 - 0.0% (115 Bytes)

[#017] sha256:90c7af31d51ed2a0a982d75425f2f46a29a9b2fe89bea4a3569e6dd0f2467cad - 0.0% (420 Bytes)

[#018] sha256:5bbd5ca91c0eaf7590601e7bd1a94355ef5109efff8ad414dc5487949a6fa279 - 0.0% (419 Bytes)

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

[#020] sha256:d9e8d1285d93f474155c52c2609c0fdd5dd7c9256bc95254869d40567196510d - 0.0% (6.57 KB)

[#021] sha256:4584c988926c2fe697e2f37bbe69d1d5757698fca1b31114a41f434590f8ff3e - 0.0% (173 Bytes)


History
2023-09-07 00:21:13 UTC

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

2023-09-07 00:21:13 UTC

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

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

RUN /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/* # buildkit

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.8.18

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-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; 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)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; 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 '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | 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 # buildkit

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

RUN /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 # buildkit

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

RUN /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 # buildkit

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

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

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_UID

2023-09-07 17:06:38 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

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG PYTHON_BASE_IMAGE

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_PIP_VERSION

2023-09-07 17:06:38 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 LD_LIBRARY_PATH=/usr/local/lib AIRFLOW_PIP_VERSION=23.2.1

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG RUNTIME_APT_DEPS=

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG ADDITIONAL_RUNTIME_APT_DEPS=

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG RUNTIME_APT_COMMAND=echo

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG ADDITIONAL_RUNTIME_APT_COMMAND=

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG ADDITIONAL_RUNTIME_APT_ENV=

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG INSTALL_MYSQL_CLIENT=true

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG INSTALL_MSSQL_CLIENT=true

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG INSTALL_POSTGRES_CLIENT=true

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ENV RUNTIME_APT_DEPS= 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=

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

COPY install_os_dependencies.sh /scripts/docker/ # buildkit

2023-09-07 17:06:52 UTC (buildkit.dockerfile.v0)

RUN |11 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=23.2.1 RUNTIME_APT_DEPS= 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 bash /scripts/docker/install_os_dependencies.sh runtime # buildkit

2023-09-07 17:06:52 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_INSTALLATION_METHOD=apache-airflow

2023-09-07 17:06:52 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_REPOSITORY

2023-09-07 17:06:52 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_README_URL

2023-09-07 17:06:52 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_USER_HOME_DIR

2023-09-07 17:06:52 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_HOME

2023-09-07 17:06:52 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

2023-09-07 17:06:52 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_PIP_VERSION=23.2.1

2023-09-07 17:06:52 UTC (buildkit.dockerfile.v0)

ENV AIRFLOW_PIP_VERSION=23.2.1

2023-09-07 17:06:52 UTC (buildkit.dockerfile.v0)

COPY common.sh /scripts/docker/ # buildkit

2023-09-07 17:06:52 UTC (buildkit.dockerfile.v0)

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

2023-09-07 17:07:19 UTC (buildkit.dockerfile.v0)

RUN |17 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=23.2.1 RUNTIME_APT_DEPS= 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_PIP_VERSION=23.2.1 /bin/bash -o pipefail -o errexit -o nounset -o nolog -c bash /scripts/docker/install_mysql.sh prod && bash /scripts/docker/install_mssql.sh prod && 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

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

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

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

COPY entrypoint_prod.sh /entrypoint # buildkit

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

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

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

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

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

RUN |17 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=23.2.1 RUNTIME_APT_DEPS= 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_PIP_VERSION=23.2.1 /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

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

RUN |17 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=23.2.1 RUNTIME_APT_DEPS= 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_PIP_VERSION=23.2.1 /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

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_VERSION

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

ENV DUMB_INIT_SETSID=1 PS1=(airflow) AIRFLOW_VERSION=2.7.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

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

RUN |18 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=23.2.1 RUNTIME_APT_DEPS= 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_PIP_VERSION=23.2.1 AIRFLOW_VERSION=2.7.1 /bin/bash -o pipefail -o errexit -o nounset -o nolog -c mkdir -pv /root/bin # buildkit

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

COPY pip /root/bin/pip # buildkit

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

RUN |18 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=23.2.1 RUNTIME_APT_DEPS= 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_PIP_VERSION=23.2.1 AIRFLOW_VERSION=2.7.1 /bin/bash -o pipefail -o errexit -o nounset -o nolog -c chmod u+x /root/bin/pip # buildkit

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/airflow

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

USER 50000

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

ARG BUILD_ID

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_REPOSITORY

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_DATE_CREATED

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

ENV BUILD_ID= COMMIT_SHA=b8c416681c529aad3ef744c193f6e0435c4d0d93

2023-09-07 17:10:52 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.7.1 org.apache.airflow.uid=50000 org.apache.airflow.main-image.build-id= org.apache.airflow.main-image.commit-sha=b8c416681c529aad3ef744c193f6e0435c4d0d93 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.7.1 org.opencontainers.image.revision=b8c416681c529aad3ef744c193f6e0435c4d0d93 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

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

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

2023-09-07 17:10:52 UTC (buildkit.dockerfile.v0)

CMD []

2023-12-15 19:36:36 UTC (buildkit.dockerfile.v0)

USER root

2023-12-15 19:36:36 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-15 19:36:36 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-15 19:36:36 UTC (buildkit.dockerfile.v0)

USER airflow

Details
Created

2023-12-15 19:36:37 UTC

Size

345 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
    b8c416681c529aad3ef744c193f6e0435c4d0d93
  • org.apache.airflow.module
    airflow
  • org.apache.airflow.uid
    50000
  • org.apache.airflow.version
    2.7.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
    b8c416681c529aad3ef744c193f6e0435c4d0d93
  • 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.7.1

Environment
ADDITIONAL_RUNTIME_APT_COMMAND

ADDITIONAL_RUNTIME_APT_DEPS

AIRFLOW_HOME

/opt/airflow

AIRFLOW_INSTALLATION_METHOD

AIRFLOW_PIP_VERSION

23.2.1

AIRFLOW_UID

50000

AIRFLOW_USER_HOME_DIR

/home/airflow

AIRFLOW_VERSION

2.7.1

AIRFLOW__CORE__LOAD_EXAMPLES

false

BUILD_ID

COMMIT_SHA

b8c416681c529aad3ef744c193f6e0435c4d0d93

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

LD_LIBRARY_PATH

/usr/local/lib

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

45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.18

RUNTIME_APT_COMMAND

echo

RUNTIME_APT_DEPS


Layers

[#000] sha256:f96ab15157043879c2ff23e0556e798eba6a6ff3d7fd5d1384de223bb9f66f1d - 8.32% (28.7 MB)

[#001] sha256:eb617592f14301c17bff6bc72b4b8252fd851f03a36f5e80b4a679e36e8126ec - 0.29% (1.02 MB)

[#002] sha256:08fc7e6d7f4a9d086cfce898d57db47e8b5f6449bb9b445f87e0e10b538730dd - 3.6% (12.4 MB)

[#003] sha256:cdb7c04991703bde4d7a9bfd69c324d95af52c3d0aeb8c68d4fdcbab5b86d421 - 0.0% (244 Bytes)

[#004] sha256:6c34cb0619915778b6c98cbea4528e68951143f0bedfa999c3cd5b928b44da8c - 0.87% (3 MB)

[#005] sha256:f6d897be83b34733d5d2b6b8912737ba17f126c70a9ac01b431b13eb54268cbe - 0.0% (1.25 KB)

[#006] sha256:e704de991b58205bb57daccac735f7caf8053d1418dace7c53d7a85cc4e31fb1 - 15.72% (54.2 MB)

[#007] sha256:384465f10f3fdf65ec3b2b9a77e21c52618654311c56290b2af463f8ec1f86dd - 0.0% (969 Bytes)

[#008] sha256:1b94631cd0b3d5f47b1a2857c1f37d906e39d2163e540f2a786d0acf543cf99f - 0.0% (2.45 KB)

[#009] sha256:3fca93122148a81a5b963d2a5be8415016b7ab489f236141e958aff926742bee - 5.04% (17.4 MB)

[#010] sha256:8595cf9c1a4a6979c96a260c3662570a497d589c7594a2c3532bfc05c9c2f9e3 - 66.16% (228 MB)

[#011] sha256:1f4e06381793d85fab7dfe939ff13007c81310e96cce81ee906f3db4b0ec01e2 - 0.0% (3.78 KB)

[#012] sha256:d79207f941a2b97b1b9c58b9f4f95a10b84647ca3bdd265167e23a691df5b73d - 0.0% (472 Bytes)

[#013] sha256:80290afea22b8a3f43414e1fb131b7b94af0c13cf99f6c62d8e4a65077eef16a - 0.0% (291 Bytes)

[#014] sha256:be7a09dd06d5d412bf8bdcd599c56aae2c2ecc9ea4ff394ddc6c8bd4b9d0218c - 0.0% (5.13 KB)

[#015] sha256:b830e211ed840519ab1231de0d4343ab5fbe658739567d4b655eef5eac930a0d - 0.0% (538 Bytes)

[#016] sha256:fdc58c992c5be085892f05b9740e87367b1ee1ead5a3acd2fa94792903cbd3c0 - 0.0% (116 Bytes)

[#017] sha256:2d0ad052ad04fb63a0bc0ca85d5c1027478fdb8c0ce6b1c74b940ceeb767012c - 0.0% (422 Bytes)

[#018] sha256:84ef925b358d940631257ceae5719f95c6d1242ecdb21b695ca4ccc66e1559e8 - 0.0% (421 Bytes)

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

[#020] sha256:d9e8d1285d93f474155c52c2609c0fdd5dd7c9256bc95254869d40567196510d - 0.0% (6.57 KB)

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


History
2023-09-07 00:39:53 UTC

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

2023-09-07 00:39:54 UTC

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

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

RUN /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/* # buildkit

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.8.18

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-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; 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)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; 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 '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | 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 # buildkit

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

RUN /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 # buildkit

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

RUN /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 # buildkit

2023-08-25 21:33:43 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

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

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_UID

2023-09-07 17:06:38 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

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG PYTHON_BASE_IMAGE

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_PIP_VERSION

2023-09-07 17:06:38 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 LD_LIBRARY_PATH=/usr/local/lib AIRFLOW_PIP_VERSION=23.2.1

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG RUNTIME_APT_DEPS=

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG ADDITIONAL_RUNTIME_APT_DEPS=

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG RUNTIME_APT_COMMAND=echo

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG ADDITIONAL_RUNTIME_APT_COMMAND=

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG ADDITIONAL_RUNTIME_APT_ENV=

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG INSTALL_MYSQL_CLIENT=true

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG INSTALL_MSSQL_CLIENT=true

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ARG INSTALL_POSTGRES_CLIENT=true

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

ENV RUNTIME_APT_DEPS= 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=

2023-09-07 17:06:38 UTC (buildkit.dockerfile.v0)

COPY install_os_dependencies.sh /scripts/docker/ # buildkit

2023-09-07 17:06:58 UTC (buildkit.dockerfile.v0)

RUN |11 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=23.2.1 RUNTIME_APT_DEPS= 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 bash /scripts/docker/install_os_dependencies.sh runtime # buildkit

2023-09-07 17:06:58 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_INSTALLATION_METHOD=apache-airflow

2023-09-07 17:06:58 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_REPOSITORY

2023-09-07 17:06:58 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_README_URL

2023-09-07 17:06:58 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_USER_HOME_DIR

2023-09-07 17:06:58 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_HOME

2023-09-07 17:06:58 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

2023-09-07 17:06:58 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_PIP_VERSION=23.2.1

2023-09-07 17:06:58 UTC (buildkit.dockerfile.v0)

ENV AIRFLOW_PIP_VERSION=23.2.1

2023-09-07 17:06:58 UTC (buildkit.dockerfile.v0)

COPY common.sh /scripts/docker/ # buildkit

2023-09-07 17:06:58 UTC (buildkit.dockerfile.v0)

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

2023-09-07 17:07:21 UTC (buildkit.dockerfile.v0)

RUN |17 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=23.2.1 RUNTIME_APT_DEPS= 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_PIP_VERSION=23.2.1 /bin/bash -o pipefail -o errexit -o nounset -o nolog -c bash /scripts/docker/install_mysql.sh prod && bash /scripts/docker/install_mssql.sh prod && 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

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

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

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

COPY entrypoint_prod.sh /entrypoint # buildkit

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

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

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

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

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

RUN |17 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=23.2.1 RUNTIME_APT_DEPS= 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_PIP_VERSION=23.2.1 /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

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

RUN |17 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=23.2.1 RUNTIME_APT_DEPS= 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_PIP_VERSION=23.2.1 /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

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_VERSION

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

ENV DUMB_INIT_SETSID=1 PS1=(airflow) AIRFLOW_VERSION=2.7.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

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

RUN |18 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=23.2.1 RUNTIME_APT_DEPS= 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_PIP_VERSION=23.2.1 AIRFLOW_VERSION=2.7.1 /bin/bash -o pipefail -o errexit -o nounset -o nolog -c mkdir -pv /root/bin # buildkit

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

COPY pip /root/bin/pip # buildkit

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

RUN |18 AIRFLOW_UID=50000 PYTHON_BASE_IMAGE=python:3.8-slim-bullseye AIRFLOW_PIP_VERSION=23.2.1 RUNTIME_APT_DEPS= 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_PIP_VERSION=23.2.1 AIRFLOW_VERSION=2.7.1 /bin/bash -o pipefail -o errexit -o nounset -o nolog -c chmod u+x /root/bin/pip # buildkit

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

WORKDIR /opt/airflow

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

USER 50000

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

ARG BUILD_ID

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_REPOSITORY

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

ARG AIRFLOW_IMAGE_DATE_CREATED

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

ENV BUILD_ID= COMMIT_SHA=b8c416681c529aad3ef744c193f6e0435c4d0d93

2023-09-07 17:14:11 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.7.1 org.apache.airflow.uid=50000 org.apache.airflow.main-image.build-id= org.apache.airflow.main-image.commit-sha=b8c416681c529aad3ef744c193f6e0435c4d0d93 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.7.1 org.opencontainers.image.revision=b8c416681c529aad3ef744c193f6e0435c4d0d93 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

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

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

2023-09-07 17:14:11 UTC (buildkit.dockerfile.v0)

CMD []

2023-12-15 19:36:37 UTC (buildkit.dockerfile.v0)

USER root

2023-12-15 19:36:37 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-15 19:36:37 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-15 19:36:37 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