Skip to content

Commit 200581a

Browse files
committed
Upgrade the hardened Python base images to Docker's latest patch releases
Generated-by: Claude Opus 5
1 parent 39ea5f2 commit 200581a

10 files changed

Lines changed: 25 additions & 25 deletions

File tree

‎Dockerfile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ ARG AIRFLOW_VERSION="3.3.2"
5858
#
5959
# The FIPS-validated variants require a paid Docker subscription and cannot be mirrored or made the
6060
# default, but you can build a FIPS-compliant image by pointing the build at one:
61-
# docker build . --build-arg BASE_IMAGE="dhi.io/python:3.13.15-debian12-fips-dev"
62-
ARG BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.15-debian12-dev"
63-
ARG AIRFLOW_PYTHON_VERSION="3.13.15"
61+
# docker build . --build-arg BASE_IMAGE="dhi.io/python:3.13.16-debian12-fips-dev"
62+
ARG BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.16-debian12-dev"
63+
ARG AIRFLOW_PYTHON_VERSION="3.13.16"
6464

6565
# You can swap comments between those two args to test pip from the main version
6666
# When you attempt to test if the version of `pip` from specified branch works for our builds

‎Dockerfile.ci‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
#
2727
# The FIPS-validated variants require a paid Docker subscription and cannot be mirrored or made the
2828
# default, but you can build a FIPS-compliant image by pointing the build at one:
29-
# docker build . --build-arg BASE_IMAGE="dhi.io/python:3.13.15-debian12-fips-dev"
30-
ARG BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.15-debian12-dev"
29+
# docker build . --build-arg BASE_IMAGE="dhi.io/python:3.13.16-debian12-fips-dev"
30+
ARG BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.16-debian12-dev"
3131

3232
##############################################################################################
3333
# This is the script image where we keep all inlined bash scripts needed in other segments
@@ -1724,7 +1724,7 @@ ENV DEV_APT_COMMAND=${DEV_APT_COMMAND} \
17241724
ADDITIONAL_DEV_APT_COMMAND=${ADDITIONAL_DEV_APT_COMMAND}
17251725

17261726

1727-
ARG AIRFLOW_PYTHON_VERSION="3.13.15"
1727+
ARG AIRFLOW_PYTHON_VERSION="3.13.16"
17281728
ENV AIRFLOW_PYTHON_VERSION=${AIRFLOW_PYTHON_VERSION}
17291729
ENV GOLANG_MAJOR_MINOR_VERSION="1.27.1"
17301730
ENV TEMURIN_VERSION="11"

‎dev/breeze/src/airflow_breeze/global_constants.py‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -902,11 +902,11 @@ def get_airflow_extras():
902902
]
903903

904904
ALL_PYTHON_VERSION_TO_PATCHLEVEL_VERSION: dict[str, str] = {
905-
"3.10": "3.10.21",
906-
"3.11": "3.11.16",
907-
"3.12": "3.12.14",
908-
"3.13": "3.13.15",
909-
"3.14": "3.14.3",
905+
"3.10": "3.10.22",
906+
"3.11": "3.11.17",
907+
"3.12": "3.12.15",
908+
"3.13": "3.13.16",
909+
"3.14": "3.14.8",
910910
}
911911

912912
# Airflow images are based on Docker Hardened Images (https://dhi.io). The "-dev" variant carries

‎docker-stack-docs/build-arg-ref.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Those are the most common arguments that you use when you want to build a custom
3232
+==========================================+===========================================+=============================================+
3333
| ``AIRFLOW_VERSION`` | :subst-code:`|airflow-version|` | Version of Airflow. |
3434
+------------------------------------------+-------------------------------------------+---------------------------------------------+
35-
| ``AIRFLOW_PYTHON_VERSION`` | ``3.13.15`` | Python version recorded in the image |
35+
| ``AIRFLOW_PYTHON_VERSION`` | ``3.13.16`` | Python version recorded in the image |
3636
| | | labels. The Python itself comes from |
3737
| | | ``BASE_IMAGE``, so change both together. |
3838
+------------------------------------------+-------------------------------------------+---------------------------------------------+
@@ -90,7 +90,7 @@ Those are the most common arguments that you use when you want to build a custom
9090

9191
The default ``BASE_IMAGE`` is Airflow's public mirror of the `Docker Hardened Image <https://dhi.io>`_ for
9292
Python, tagged with the same Python version as ``AIRFLOW_PYTHON_VERSION`` - for Airflow |airflow-version| that
93-
is ``ghcr.io/apache/airflow/base/python:3.13.15-debian12-dev``. Pulling the mirror needs no credentials;
93+
is ``ghcr.io/apache/airflow/base/python:3.13.16-debian12-dev``. Pulling the mirror needs no credentials;
9494
pulling ``dhi.io`` directly requires a ``docker login dhi.io``.
9595

9696
List of default extras in the production Dockerfile:

‎docker-stack-docs/docker-examples/customizing/add-build-essential-custom.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ export DOCKER_BUILDKIT=1
3131

3232
docker build . \
3333
--pull \
34-
--build-arg BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.15-debian12-dev" \
34+
--build-arg BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.16-debian12-dev" \
3535
--build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \
36-
--build-arg AIRFLOW_PYTHON_VERSION="3.13.15" \
36+
--build-arg AIRFLOW_PYTHON_VERSION="3.13.16" \
3737
--build-arg ADDITIONAL_PYTHON_DEPS="mpi4py==4.1.1" \
3838
--build-arg ADDITIONAL_DEV_APT_DEPS="libopenmpi-dev" \
3939
--build-arg ADDITIONAL_RUNTIME_APT_DEPS="openmpi-common" \

‎docker-stack-docs/docker-examples/customizing/custom-sources.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ export DOCKER_BUILDKIT=1
3232
docker build . -f Dockerfile \
3333
--pull \
3434
--platform 'linux/amd64' \
35-
--build-arg BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.15-debian12-dev" \
36-
--build-arg AIRFLOW_PYTHON_VERSION="3.13.15" \
35+
--build-arg BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.16-debian12-dev" \
36+
--build-arg AIRFLOW_PYTHON_VERSION="3.13.16" \
3737
--build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \
3838
--build-arg ADDITIONAL_AIRFLOW_EXTRAS="slack,odbc" \
3939
--build-arg ADDITIONAL_PYTHON_DEPS=" \

‎docker-stack-docs/docker-examples/customizing/pypi-dev-runtime-deps.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ export DOCKER_BUILDKIT=1
3232

3333
docker build . \
3434
--pull \
35-
--build-arg BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.15-debian12-dev" \
36-
--build-arg AIRFLOW_PYTHON_VERSION="3.13.15" \
35+
--build-arg BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.16-debian12-dev" \
36+
--build-arg AIRFLOW_PYTHON_VERSION="3.13.16" \
3737
--build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \
3838
--build-arg ADDITIONAL_AIRFLOW_EXTRAS="jdbc" \
3939
--build-arg ADDITIONAL_PYTHON_DEPS="pandas==2.1.2" \

‎docker-stack-docs/docker-examples/customizing/pypi-extras-and-deps.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export DOCKER_BUILDKIT=1
3131

3232
docker build . \
3333
--pull \
34-
--build-arg BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.15-debian12-dev" \
35-
--build-arg AIRFLOW_PYTHON_VERSION="3.13.15" \
34+
--build-arg BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.16-debian12-dev" \
35+
--build-arg AIRFLOW_PYTHON_VERSION="3.13.16" \
3636
--build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \
3737
--build-arg ADDITIONAL_AIRFLOW_EXTRAS="mssql,hdfs" \
3838
--build-arg ADDITIONAL_PYTHON_DEPS="oauth2client" \

‎docker-stack-docs/docker-examples/customizing/pypi-selected-version.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export AIRFLOW_VERSION=3.0.3
3030
export DOCKER_BUILDKIT=1
3131

3232
docker build . \
33-
--build-arg BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.15-debian12-dev" \
34-
--build-arg AIRFLOW_PYTHON_VERSION="3.13.15" \
33+
--build-arg BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.16-debian12-dev" \
34+
--build-arg AIRFLOW_PYTHON_VERSION="3.13.16" \
3535
--build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \
3636
--tag "my-pypi-selected-version:0.0.1"
3737
# [END build]

‎docker-stack-docs/docker-examples/restricted/restricted_environments.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export DOCKER_BUILDKIT=1
4747

4848
docker build . \
4949
--pull \
50-
--build-arg BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.15-debian12-dev" \
51-
--build-arg AIRFLOW_PYTHON_VERSION="3.13.15" \
50+
--build-arg BASE_IMAGE="ghcr.io/apache/airflow/base/python:3.13.16-debian12-dev" \
51+
--build-arg AIRFLOW_PYTHON_VERSION="3.13.16" \
5252
--build-arg AIRFLOW_INSTALLATION_METHOD="apache-airflow" \
5353
--build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}" \
5454
--build-arg INSTALL_MYSQL_CLIENT="false" \

0 commit comments

Comments
 (0)