Skip to content

Commit

Permalink
fix(docker): add python-dev in base image (#1352)
Browse files Browse the repository at this point in the history
  • Loading branch information
jialeicui authored Oct 13, 2022
1 parent 59adc5b commit 411cfb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docker/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ ARG HTTPS_PROXY
RUN export http_proxy=${HTTP_PROXY} https_proxy=${HTTPS_PROXY} HTTP_PROXY=${HTTP_PROXY} HTTPS_PROXY=${HTTPS_PROXY} \
&& add-apt-repository -y ppa:deadsnakes/ppa \
&& apt-get update \
&& apt-get install -y python3.7 python3.8 python3.9 python3.10 python3-pip python3-venv python3.8-venv python3.7-venv python3.9-venv python3.10-venv \
&& apt-get install -y python3.7 python3.8 python3.9 python3.10 \
python3-pip python3-venv python3.8-venv python3.7-venv python3.9-venv python3.10-venv \
python3-dev python3.7-dev python3.8-dev python3.9-dev python3.10-dev \
&& apt-get clean all \
&& rm -rf /var/lib/apt/lists/* /tmp/*

Expand All @@ -45,7 +47,5 @@ RUN python3.7 -m pip install --upgrade virtualenv>=20.14.0 pip>=22.1.0 \
&& python3.8 -m pip install --upgrade virtualenv>=20.14.0 pip>=22.1.0 \
&& python3.9 -m pip install --upgrade virtualenv>=20.14.0 pip>=22.1.0 \
&& curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 \
&& python3.10 -m pip install --upgrade virtualenv>=20.14.0 pip>=22.1.0

# install yq for parsing yaml files
RUN python3 -m pip install yq && python3 -m pip cache purge
&& python3.10 -m pip install --upgrade virtualenv>=20.14.0 pip>=22.1.0 \
&& python3 -m pip install yq && python3 -m pip cache purge
2 changes: 1 addition & 1 deletion docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ GHCR_IO_REPO := ghcr.io/star-whale

# Please update base/nodejs/base_server image version by manual, DOT NOT USE RELEASE TAG.
# These images versions are slow to release.
FIXED_VERSION_BASE_IMAGE := 0.2.2
FIXED_VERSION_BASE_IMAGE := 0.2.3
FIXED_VERSION_NODEJS_IMAGE := 0.1.2
FIXED_VERSION_BASE_SERVER_IMAGE := 0.1.2

Expand Down

0 comments on commit 411cfb6

Please sign in to comment.