Skip to content

Commit 7b06248

Browse files
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.
1 parent 0350b03 commit 7b06248

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ENV INSTALL_DEPS \
1313
maven \
1414
patch \
1515
python3.9 \
16+
python3.9-venv \
1617
python3-pip \
1718
apt-transport-https \
1819
curl \
@@ -68,7 +69,7 @@ WORKDIR ${GOPATH}/src/github.com/envoyproxy/protoc-gen-validate
6869

6970
# python tooling for linting and uploading to PyPI
7071
COPY requirements.txt .
71-
RUN pip3 install -r requirements.txt
72+
RUN python3.9 -m pip install -r requirements.txt
7273

7374
COPY . .
7475

0 commit comments

Comments
 (0)