This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push: new 2bc34ffcb5 Add zlib1g-dev package to Airflow images (#36493) 2bc34ffcb5 is described below commit 2bc34ffcb5e830544e024e085f36481a33852f49 Author: Jarek Potiuk <ja...@potiuk.com> AuthorDate: Sat Dec 30 02:17:30 2023 +0100 Add zlib1g-dev package to Airflow images (#36493) Seems that when mysql repository is used to install mysql client, it induces libxml compilation for Python 3.8 and 3.9 and this library requires devel version of zlib that is missing in the image. This PR adds the devel version as dev apt dependency. --- .github/workflows/ci.yml | 4 ++-- Dockerfile | 2 +- Dockerfile.ci | 2 +- scripts/docker/install_os_dependencies.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ff81a80ba..a508c06f4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1712,7 +1712,7 @@ jobs: build-prod-images-mysql-client: timeout-minutes: 80 name: > - Build MysQL Client PROD images (main) + Build MySQL Client PROD images (main) ${{needs.build-info.outputs.all-python-versions-list-as-string}} runs-on: ${{fromJSON(needs.build-info.outputs.runs-on)}} needs: [build-info, build-ci-images] @@ -1746,7 +1746,7 @@ jobs: needs.build-info.outputs.in-workflow-build == 'true' && needs.build-info.outputs.default-branch == 'main' - name: > - Build Bullseye PROD Images + Build MySQL Client PROD Images ${{needs.build-info.outputs.all-python-versions-list-as-string}}:${{env.IMAGE_TAG}} uses: ./.github/actions/build-prod-images if: > diff --git a/Dockerfile b/Dockerfile index cbdbd168f5..c1ed35a61e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -98,7 +98,7 @@ function get_dev_apt_deps() { freetds-bin freetds-dev git gosu graphviz graphviz-dev krb5-user ldap-utils libffi-dev libgeos-dev \ libkrb5-dev libldap2-dev libleveldb1d libleveldb-dev libsasl2-2 libsasl2-dev libsasl2-modules \ libssl-dev libxmlsec1 libxmlsec1-dev locales lsb-release openssh-client pkgconf sasl2-bin \ -software-properties-common sqlite3 sudo unixodbc unixodbc-dev" +software-properties-common sqlite3 sudo unixodbc unixodbc-dev zlib1g-dev" export DEV_APT_DEPS fi } diff --git a/Dockerfile.ci b/Dockerfile.ci index 365185ccf9..e6f9964d84 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -58,7 +58,7 @@ function get_dev_apt_deps() { freetds-bin freetds-dev git gosu graphviz graphviz-dev krb5-user ldap-utils libffi-dev libgeos-dev \ libkrb5-dev libldap2-dev libleveldb1d libleveldb-dev libsasl2-2 libsasl2-dev libsasl2-modules \ libssl-dev libxmlsec1 libxmlsec1-dev locales lsb-release openssh-client pkgconf sasl2-bin \ -software-properties-common sqlite3 sudo unixodbc unixodbc-dev" +software-properties-common sqlite3 sudo unixodbc unixodbc-dev zlib1g-dev" export DEV_APT_DEPS fi } diff --git a/scripts/docker/install_os_dependencies.sh b/scripts/docker/install_os_dependencies.sh index 318add1435..5d53867643 100644 --- a/scripts/docker/install_os_dependencies.sh +++ b/scripts/docker/install_os_dependencies.sh @@ -40,7 +40,7 @@ function get_dev_apt_deps() { freetds-bin freetds-dev git gosu graphviz graphviz-dev krb5-user ldap-utils libffi-dev libgeos-dev \ libkrb5-dev libldap2-dev libleveldb1d libleveldb-dev libsasl2-2 libsasl2-dev libsasl2-modules \ libssl-dev libxmlsec1 libxmlsec1-dev locales lsb-release openssh-client pkgconf sasl2-bin \ -software-properties-common sqlite3 sudo unixodbc unixodbc-dev" +software-properties-common sqlite3 sudo unixodbc unixodbc-dev zlib1g-dev" export DEV_APT_DEPS fi }