tools/docker: Fix python alpine images

This commit is contained in:
Mizux Seiha
2023-08-04 00:32:25 +02:00
parent c8597d302c
commit e5ac9e4ac2
2 changed files with 7 additions and 4 deletions

View File

@@ -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 ##

View File

@@ -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 ##