From 421ff08daac6b18006ca018eb266adf781861866 Mon Sep 17 00:00:00 2001 From: Pavel Fiskovich Date: Tue, 16 Apr 2024 18:19:20 +0300 Subject: [PATCH] fix: cryptography for fernet key gen (#350) --- docker/script/bootstrap.sh | 3 +-- docker/script/systemlibs.sh | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docker/script/bootstrap.sh b/docker/script/bootstrap.sh index f0176d819..25a8faeeb 100644 --- a/docker/script/bootstrap.sh +++ b/docker/script/bootstrap.sh @@ -34,14 +34,13 @@ tar -xf ./python_install/$python_tar -C ./python_install dnf install -y dnf-plugins-core dnf builddep -y python3 - pushd /python_install/$python_file ./configure make install -j $(nproc) # use -j to set the cores for the build popd # Upgrade pip -pip3 install $PIP_OPTION --upgrade 'pip<23' +pip3 install $PIP_OPTION --upgrade 'pip<23' cryptography # openjdk is required for JDBC to work with Airflow dnf install -y java-17-amazon-corretto diff --git a/docker/script/systemlibs.sh b/docker/script/systemlibs.sh index 78c706b59..00826e802 100644 --- a/docker/script/systemlibs.sh +++ b/docker/script/systemlibs.sh @@ -27,10 +27,7 @@ dnf install -y jq # nc is used to check DB connectivity dnf install -y nc -# Needed for generating fernet key for local runner -dnf install -y python3-cryptography - # Install additional system library dependencies. Provided as a string of libraries separated by space if [ -n "${SYSTEM_DEPS}" ]; then dnf install -y "${SYSTEM_DEPS}"; fi -dnf clean all \ No newline at end of file +dnf clean all