Skip to content

Commit

Permalink
Fix Python3.9 build (#1232)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
stefanvanburen authored Jan 22, 2025
1 parent 0350b03 commit 7b06248
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ENV INSTALL_DEPS \
maven \
patch \
python3.9 \
python3.9-venv \
python3-pip \
apt-transport-https \
curl \
Expand Down Expand Up @@ -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 . .

Expand Down

0 comments on commit 7b06248

Please sign in to comment.