Skip to content

Commit

Permalink
[irods#89] Remove (most) Python 2 remnants
Browse files Browse the repository at this point in the history
  • Loading branch information
SwooshyCueb committed Oct 19, 2023
1 parent b98a8a1 commit ce6bb62
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 69 deletions.
1 change: 0 additions & 1 deletion externals_builder.ubuntu18.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
apt-get install -y \
sudo \
git \
python \
python3 \
python3-distro \
&& \
Expand Down
15 changes: 0 additions & 15 deletions irods_core_builder.centos7.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ RUN --mount=type=cache,target=/var/cache/yum,sharing=locked \
&& \
rm -rf /tmp/*

# python 2 and 3 must be installed separately because yum will ignore/discard python2
RUN --mount=type=cache,target=/var/cache/yum,sharing=locked \
--mount=type=cache,target=/root/.cache/pip,sharing=locked \
--mount=type=cache,target=/root/.cache/wheel,sharing=locked \
yum install -y \
ccache \
openssl \
Expand All @@ -30,17 +27,6 @@ RUN --mount=type=cache,target=/var/cache/yum,sharing=locked \
unixODBC-devel \
libjson-perl \
&& \
yum install -y \
python \
python-devel \
python-distro \
python2-packaging \
python2-pip \
python2-jsonschema \
python2-psutil \
python-requests \
pyodbc \
&& \
yum install -y \
python36 \
python3-devel \
Expand All @@ -51,7 +37,6 @@ RUN --mount=type=cache,target=/var/cache/yum,sharing=locked \
python36-psutil \
python36-requests \
&& \
pip install --upgrade 'pip<21.0' && \
rm -rf /tmp/*

RUN --mount=type=cache,target=/var/cache/yum,sharing=locked \
Expand Down
12 changes: 0 additions & 12 deletions irods_core_builder.ubuntu18.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \

RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
--mount=type=cache,target=/root/.cache/pip,sharing=locked \
--mount=type=cache,target=/root/.cache/wheel,sharing=locked \
apt-get update && \
apt-get install -y \
apt-transport-https \
Expand All @@ -45,15 +43,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
ninja-build \
odbc-postgresql \
postgresql \
python \
python-dev \
python-pip \
python-distro \
python-jsonschema \
python-packaging \
python-psutil \
python-pyodbc \
python-requests \
python3 \
python3-pip \
python3-distro \
Expand All @@ -68,7 +57,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
wget \
zlib1g-dev \
&& \
pip install --upgrade 'pip<21.0' && \
rm -rf /tmp/*

RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
Expand Down
9 changes: 0 additions & 9 deletions irods_runner.centos7.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,13 @@ RUN --mount=type=cache,target=/var/cache/yum,sharing=locked \
&& \
rm -rf /tmp/*

# python 2 and 3 must be installed separately because yum will ignore/discard python2
RUN --mount=type=cache,target=/var/cache/yum,sharing=locked \
yum install -y \
openssl-devel \
lsof \
postgresql-server \
unixODBC-devel \
&& \
yum install -y \
python \
python-distro \
python2-jsonschema \
python2-psutil \
python-requests \
pyodbc \
&& \
yum install -y \
python36 \
python3-distro \
Expand Down
5 changes: 0 additions & 5 deletions irods_runner.ubuntu18.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
sudo \
gnupg \
rsyslog \
python \
python-psutil \
python-requests \
python-jsonschema \
python-distro \
python3 \
python3-psutil \
python3-requests \
Expand Down
3 changes: 0 additions & 3 deletions plugin_builder.almalinux8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,12 @@ RUN --mount=type=cache,target=/var/cache/dnf,sharing=locked \

RUN --mount=type=cache,target=/var/cache/dnf,sharing=locked \
--mount=type=cache,target=/var/cache/yum,sharing=locked \
--mount=type=cache,target=/root/.cache/pip,sharing=locked \
--mount=type=cache,target=/root/.cache/wheel,sharing=locked \
dnf install -y \
dnf-plugins-core \
python3 \
python3-devel \
python3-pip \
&& \
python3 -m pip install --upgrade 'pip<21.0' && \
dnf config-manager --set-enabled powertools && \
rm -rf /tmp/*

Expand Down
9 changes: 0 additions & 9 deletions plugin_builder.centos7.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,12 @@ RUN --mount=type=cache,target=/var/cache/yum,sharing=locked \
&& \
rm -rf /tmp/*

# python 2 and 3 must be installed separately because yum will ignore/discard python2
RUN --mount=type=cache,target=/var/cache/yum,sharing=locked \
--mount=type=cache,target=/root/.cache/pip,sharing=locked \
--mount=type=cache,target=/root/.cache/wheel,sharing=locked \
yum install -y \
python3 \
python3-devel \
python3-pip \
&& \
yum install -y \
python \
python-devel \
python-pip \
&& \
pip install --upgrade 'pip<21.0' && \
rm -rf /tmp/*

ENV python="python3"
Expand Down
3 changes: 0 additions & 3 deletions plugin_builder.debian11.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \

RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
--mount=type=cache,target=/root/.cache/pip,sharing=locked \
--mount=type=cache,target=/root/.cache/wheel,sharing=locked \
apt-get update && \
apt-get install --no-install-recommends -y \
apt-utils \
Expand All @@ -38,7 +36,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
sudo \
wget \
&& \
pip install --upgrade 'pip<21.0' && \
rm -rf /tmp/*

ENV python="python3"
Expand Down
6 changes: 0 additions & 6 deletions plugin_builder.ubuntu18.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \

RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
--mount=type=cache,target=/root/.cache/pip,sharing=locked \
--mount=type=cache,target=/root/.cache/wheel,sharing=locked \
apt-get update && \
apt-get install --no-install-recommends -y \
apt-utils \
Expand All @@ -31,16 +29,12 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
gnupg \
libxml2-dev \
lsb-release \
python \
python-pip \
python-setuptools \
python3 \
python3-pip \
python3-setuptools \
sudo \
wget \
&& \
pip install --upgrade 'pip<21.0' && \
rm -rf /tmp/*

ENV python="python3"
Expand Down
3 changes: 0 additions & 3 deletions plugin_builder.ubuntu20.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \

RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
--mount=type=cache,target=/root/.cache/pip,sharing=locked \
--mount=type=cache,target=/root/.cache/wheel,sharing=locked \
apt-get update && \
apt-get install --no-install-recommends -y \
apt-utils \
Expand All @@ -38,7 +36,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
sudo \
wget \
&& \
pip install --upgrade 'pip<21.0' && \
rm -rf /tmp/*

ENV python="python3"
Expand Down
3 changes: 0 additions & 3 deletions plugin_builder.ubuntu22.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \

RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
--mount=type=cache,target=/root/.cache/pip,sharing=locked \
--mount=type=cache,target=/root/.cache/wheel,sharing=locked \
apt-get update && \
apt-get install --no-install-recommends -y \
apt-utils \
Expand All @@ -38,7 +36,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
sudo \
wget \
&& \
pip install --upgrade 'pip<21.0' && \
rm -rf /tmp/*

ENV python="python3"
Expand Down

0 comments on commit ce6bb62

Please sign in to comment.