From 0e2f1db4b5f4a1246924c3859aae12159edafef6 Mon Sep 17 00:00:00 2001 From: Luis Perez Date: Tue, 9 Jul 2024 14:02:41 -0700 Subject: [PATCH] deadsnakes --- yelp_package/dockerfiles/itest/api/Dockerfile | 7 ++++++- yelp_package/dockerfiles/itest/k8s/Dockerfile | 6 ++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/yelp_package/dockerfiles/itest/api/Dockerfile b/yelp_package/dockerfiles/itest/api/Dockerfile index 7b53beeef0..774bf040bf 100644 --- a/yelp_package/dockerfiles/itest/api/Dockerfile +++ b/yelp_package/dockerfiles/itest/api/Dockerfile @@ -18,9 +18,14 @@ FROM ${DOCKER_REGISTRY}ubuntu:jammy ARG PIP_INDEX_URL=https://pypi.yelpcorp.com/jammy/simple ENV PIP_INDEX_URL=$PIP_INDEX_URL +RUN apt-get update -yq && \ + apt-get install -yq \ + # needed to add a ppa + software-properties-common && \ + add-apt-repository ppa:deadsnakes/ppa + RUN apt-get update > /dev/null && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - software-properties-common \ gcc \ git \ curl \ diff --git a/yelp_package/dockerfiles/itest/k8s/Dockerfile b/yelp_package/dockerfiles/itest/k8s/Dockerfile index 76d58007df..27ededc90b 100644 --- a/yelp_package/dockerfiles/itest/k8s/Dockerfile +++ b/yelp_package/dockerfiles/itest/k8s/Dockerfile @@ -18,6 +18,12 @@ FROM ${DOCKER_REGISTRY}ubuntu:jammy ARG PIP_INDEX_URL=https://pypi.yelpcorp.com/jammy/simple ENV PIP_INDEX_URL=$PIP_INDEX_URL +RUN apt-get update -yq && \ + apt-get install -yq \ + # needed to add a ppa + software-properties-common && \ + add-apt-repository ppa:deadsnakes/ppa + RUN apt-get update > /dev/null && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ gcc \