More Dockerfile fixes

This commit is contained in:
Robin Dunn
2023-06-06 14:10:26 -07:00
parent 617418383c
commit e4410eea8c
3 changed files with 3 additions and 6 deletions

View File

@@ -37,8 +37,7 @@ RUN \
RUN \ RUN \
# Install all available Python packages and their dev packages # Install all available Python packages and their dev packages
dnf -y install python3 python3-tools python3-devel; \ dnf -y install python3 python3-tools python3-devel; \
dnf -y install python3.9; \ dnf -y install python3.10 python3.10-tools python3.10-devel;
dnf -y install python3.10;
RUN \ RUN \
# Clean up dnf caches # Clean up dnf caches
@@ -55,7 +54,6 @@ WORKDIR ${HOME}
RUN \ RUN \
cd ${HOME}; \ cd ${HOME}; \
mkdir -p ${HOME}/venvs; \ mkdir -p ${HOME}/venvs; \
python3.9 -m venv venvs/Py39; \
python3.10 -m venv venvs/Py310; \ python3.10 -m venv venvs/Py310; \
python3.11 -m venv venvs/Py311; python3.11 -m venv venvs/Py311;

View File

@@ -37,8 +37,7 @@ RUN \
RUN \ RUN \
# Install all available Python packages and their dev packages # Install all available Python packages and their dev packages
dnf -y install python3 python3-tools python3-devel; \ dnf -y install python3 python3-tools python3-devel; \
dnf -y install python3.9; \ dnf -y install python3.10 python3.10-tools python3.10-devel;
dnf -y install python3.10;
RUN \ RUN \
# Clean up dnf caches # Clean up dnf caches
@@ -55,7 +54,6 @@ WORKDIR ${HOME}
RUN \ RUN \
cd ${HOME}; \ cd ${HOME}; \
mkdir -p ${HOME}/venvs; \ mkdir -p ${HOME}/venvs; \
python3.9 -m venv venvs/Py39; \
python3.10 -m venv venvs/Py310; \ python3.10 -m venv venvs/Py310; \
python3.11 -m venv venvs/Py311; python3.11 -m venv venvs/Py311;

View File

@@ -41,6 +41,7 @@ RUN \
webkit2gtk3-devel; \ webkit2gtk3-devel; \
# Install all available Python packages and their dev packages # Install all available Python packages and their dev packages
yum -y install python3 python3-devel; \ yum -y install python3 python3-devel; \
yum -y install python3.11 python3.11-devel; \
# Clean up the yum caches # Clean up the yum caches
yum clean all; yum clean all;