CVE fixes

This PS bumps up kubectl in airflow image and also
adds apt upgrade to shipyard image

Change-Id: I280dd6503b6c72df6ab01bef9d9fa2b7f4ef8de1
This commit is contained in:
Sergiy Markin 2024-08-22 20:37:03 +00:00
parent fe89b5e0b1
commit 2abc36904a
2 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,7 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG ctx_base=src/bin
# Kubectl version
ARG KUBECTL_VERSION=1.29.5
ARG KUBECTL_VERSION=1.30.4
# Needed from apache-airflow 1.10.2, since core.airflow_home config is deprecated
ENV AIRFLOW_HOME=${AIRFLOW_HOME}

View File

@ -111,6 +111,7 @@ COPY ${ctx_base}/shipyard_airflow /home/shipyard/shipyard/
python3-pip \
' \
&& apt-get -qq update \
&& apt-get upgrade -y \
&& apt-get -y install -y $buildDeps --no-install-recommends \
&& python3 -m pip install -U pip \
&& pip3 install -r /home/shipyard/client_requirements.txt --no-cache-dir \