diff --git a/airbyte-integrations/connectors/destination-clickhouse/Dockerfile b/airbyte-integrations/connectors/destination-clickhouse/Dockerfile index c8f11830675..98560ddb4f0 100644 --- a/airbyte-integrations/connectors/destination-clickhouse/Dockerfile +++ b/airbyte-integrations/connectors/destination-clickhouse/Dockerfile @@ -8,9 +8,12 @@ # Please reach out to the Connectors Operations team if you have any question. FROM airbyte/integration-base-java:dev AS build -RUN yum install -y python3 python3-devel jq sshpass git && yum clean all && \ +RUN yum install -y python3 python3-devel jq sshpass git gcc-c++ && yum clean all && \ alternatives --install /usr/bin/python python /usr/bin/python3 60 && \ python -m ensurepip --upgrade && \ + # these two lines are a workaround for https://github.com/yaml/pyyaml/issues/601 + pip3 install wheel && \ + pip3 install "Cython<3.0" "pyyaml==5.4" --no-build-isolation && \ pip3 install dbt-clickhouse>=1.4.0 # Luckily, none of normalization's files conflict with destination-clickhouse's files :) diff --git a/airbyte-integrations/connectors/destination-mssql/Dockerfile b/airbyte-integrations/connectors/destination-mssql/Dockerfile index 6ee279f4920..d51950f7c0d 100644 --- a/airbyte-integrations/connectors/destination-mssql/Dockerfile +++ b/airbyte-integrations/connectors/destination-mssql/Dockerfile @@ -11,6 +11,9 @@ FROM airbyte/integration-base-java:dev AS build RUN yum install -y python3 python3-devel jq sshpass git && yum clean all && \ alternatives --install /usr/bin/python python /usr/bin/python3 60 && \ python -m ensurepip --upgrade && \ + # these two lines are a workaround for https://github.com/yaml/pyyaml/issues/601 + pip3 install wheel && \ + pip3 install "Cython<3.0" "pyyaml==5.4" --no-build-isolation && \ pip3 install dbt-sqlserver==1.0.0 # Luckily, none of normalization's files conflict with destination-mssql's files :) diff --git a/airbyte-integrations/connectors/destination-redshift/Dockerfile b/airbyte-integrations/connectors/destination-redshift/Dockerfile index 84716558b82..ee52df0057a 100644 --- a/airbyte-integrations/connectors/destination-redshift/Dockerfile +++ b/airbyte-integrations/connectors/destination-redshift/Dockerfile @@ -9,9 +9,12 @@ FROM airbyte/integration-base-java:dev AS build # amazon linux 2 isn't compatible with urllib3 2.x, so force 1.26.15 -RUN yum install -y python3 python3-devel jq sshpass git && yum clean all && \ +RUN yum install -y python3 python3-devel jq sshpass git gcc-c++ && yum clean all && \ alternatives --install /usr/bin/python python /usr/bin/python3 60 && \ python -m ensurepip --upgrade && \ + # these two lines are a workaround for https://github.com/yaml/pyyaml/issues/601 + pip3 install wheel && \ + pip3 install "Cython<3.0" "pyyaml==5.4" --no-build-isolation && \ pip3 install dbt-redshift==1.0.0 "urllib3<2" # Luckily, none of normalization's files conflict with destination-bigquery's files :) diff --git a/airbyte-integrations/connectors/destination-tidb/Dockerfile b/airbyte-integrations/connectors/destination-tidb/Dockerfile index 8bf9e222e48..35f6f8bd5d2 100644 --- a/airbyte-integrations/connectors/destination-tidb/Dockerfile +++ b/airbyte-integrations/connectors/destination-tidb/Dockerfile @@ -8,9 +8,12 @@ # Please reach out to the Connectors Operations team if you have any question. FROM airbyte/integration-base-java:dev AS build -RUN yum install -y python3 python3-devel jq sshpass git && yum clean all && \ +RUN yum install -y python3 python3-devel jq sshpass git gcc-c++ && yum clean all && \ alternatives --install /usr/bin/python python /usr/bin/python3 60 && \ python -m ensurepip --upgrade && \ + # these two lines are a workaround for https://github.com/yaml/pyyaml/issues/601 + pip3 install wheel && \ + pip3 install "Cython<3.0" "pyyaml==5.4" --no-build-isolation && \ pip3 install dbt-tidb==1.0.1 # Luckily, none of normalization's files conflict with destination-tidb's files :)