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 771362af47 Add libeos_dev on ARM runtime PROD image (#32200)
771362af47 is described below

commit 771362af4784f3d913d6c3d3b44c78269280a96e
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Jun 27 22:11:46 2023 +0200

    Add libeos_dev on ARM runtime PROD image (#32200)
    
    This is a follow-up after #31437. Seems that for ARM image, the
    BigQuery libraries require libgeos-dev library installed on
    system level not only to be built but also to be imported.
---
 Dockerfile                                | 2 +-
 Dockerfile.ci                             | 2 +-
 docs/docker-stack/changelog.rst           | 7 ++++++-
 scripts/docker/install_os_dependencies.sh | 2 +-
 4 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index befa5d9e4f..35afca6672 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -105,7 +105,7 @@ software-properties-common sqlite3 sudo unixodbc 
unixodbc-dev"
 function get_runtime_apt_deps() {
     if [[ "${RUNTIME_APT_DEPS=}" == "" ]]; then
         RUNTIME_APT_DEPS="apt-transport-https apt-utils ca-certificates \
-curl dumb-init freetds-bin gosu krb5-user \
+curl dumb-init freetds-bin gosu krb5-user libgeos-dev \
 ldap-utils libffi7 libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales 
\
 lsb-release netcat openssh-client python3-selinux rsync sasl2-bin sqlite3 sudo 
unixodbc"
         export RUNTIME_APT_DEPS
diff --git a/Dockerfile.ci b/Dockerfile.ci
index f325c1d25d..6df47d6a8a 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -65,7 +65,7 @@ software-properties-common sqlite3 sudo unixodbc unixodbc-dev"
 function get_runtime_apt_deps() {
     if [[ "${RUNTIME_APT_DEPS=}" == "" ]]; then
         RUNTIME_APT_DEPS="apt-transport-https apt-utils ca-certificates \
-curl dumb-init freetds-bin gosu krb5-user \
+curl dumb-init freetds-bin gosu krb5-user libgeos-dev \
 ldap-utils libffi7 libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales 
\
 lsb-release netcat openssh-client python3-selinux rsync sasl2-bin sqlite3 sudo 
unixodbc"
         export RUNTIME_APT_DEPS
diff --git a/docs/docker-stack/changelog.rst b/docs/docker-stack/changelog.rst
index 063748d250..b40c0ae68f 100644
--- a/docs/docker-stack/changelog.rst
+++ b/docs/docker-stack/changelog.rst
@@ -58,7 +58,12 @@ here so that users affected can find the reason for the 
changes.
 Airflow 2.6
 ~~~~~~~~~~~~~
 
-* 2.6
+* 2.6.3
+
+  * Add ``libgeos-dev`` library to runtime PROD image as it is required by 
BigQuery library on ARM image
+
+
+* 2.6.0
 
   * Snowflake provider installed by default
 
diff --git a/scripts/docker/install_os_dependencies.sh 
b/scripts/docker/install_os_dependencies.sh
index 73bb43c6cc..6aaa0ba561 100644
--- a/scripts/docker/install_os_dependencies.sh
+++ b/scripts/docker/install_os_dependencies.sh
@@ -47,7 +47,7 @@ software-properties-common sqlite3 sudo unixodbc unixodbc-dev"
 function get_runtime_apt_deps() {
     if [[ "${RUNTIME_APT_DEPS=}" == "" ]]; then
         RUNTIME_APT_DEPS="apt-transport-https apt-utils ca-certificates \
-curl dumb-init freetds-bin gosu krb5-user \
+curl dumb-init freetds-bin gosu krb5-user libgeos-dev \
 ldap-utils libffi7 libldap-2.4-2 libsasl2-2 libsasl2-modules libssl1.1 locales 
\
 lsb-release netcat openssh-client python3-selinux rsync sasl2-bin sqlite3 sudo 
unixodbc"
         export RUNTIME_APT_DEPS

Reply via email to