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

View File

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

View File

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