From 7b06248484ceeaa947e93ca2747eccf336a88ecc Mon Sep 17 00:00:00 2001 From: Stefan VanBuren Date: Wed, 22 Jan 2025 15:15:32 -0500 Subject: [PATCH] Fix Python3.9 build (#1232) This fixes the python3.9 build by installing the pip requirements with python3.9 and ensuring python3.9-venv is installed. Follow up to #1225. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6f73e3839..c546754b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ ENV INSTALL_DEPS \ maven \ patch \ python3.9 \ + python3.9-venv \ python3-pip \ apt-transport-https \ curl \ @@ -68,7 +69,7 @@ WORKDIR ${GOPATH}/src/github.com/envoyproxy/protoc-gen-validate # python tooling for linting and uploading to PyPI COPY requirements.txt . -RUN pip3 install -r requirements.txt +RUN python3.9 -m pip install -r requirements.txt COPY . .