Skip to content

Commit

Permalink
tools/docker: Fix python alpine images
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Aug 3, 2023
1 parent c8597d3 commit e5ac9e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions tools/docker/python/amd64/alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ CMD ["/bin/sh"]
RUN apk add --no-cache swig

# Python
RUN apk add --no-cache python3-dev py3-pip py3-wheel \
RUN apk add --no-cache python3-dev py3-pip py3-wheel py3-virtualenv \
py3-numpy py3-pandas py3-matplotlib
RUN python3 -m pip install absl-py mypy-protobuf
RUN rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED \
&& python3 -m pip install absl-py mypy-protobuf

################
## OR-TOOLS ##
Expand Down
6 changes: 4 additions & 2 deletions tools/docker/python/arm64v8/alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ CMD ["/bin/sh"]
RUN apk add --no-cache swig

# Python
RUN apk add --no-cache python3-dev py3-pip py3-wheel
RUN python3 -m pip install absl-py mypy-protobuf
RUN apk add --no-cache python3-dev py3-pip py3-wheel py3-virtualenv \
py3-numpy py3-pandas py3-matplotlib
RUN rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED \
&& python3 -m pip install absl-py mypy-protobuf

################
## OR-TOOLS ##
Expand Down

0 comments on commit e5ac9e4

Please sign in to comment.