Skip to content

Commit

Permalink
[104] Install python3-packaging in builder images
Browse files Browse the repository at this point in the history
  • Loading branch information
SwooshyCueb committed Oct 18, 2023
1 parent bfe1b6f commit 5d246c5
Show file tree
Hide file tree
Showing 16 changed files with 34 additions and 2 deletions.
9 changes: 9 additions & 0 deletions externals_builder.almalinux8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,22 @@ RUN --mount=type=cache,target=/var/cache/dnf,sharing=locked \
dnf update -y || [ "$?" -eq 100 ] && \
rm -rf /tmp/*

RUN --mount=type=cache,target=/var/cache/dnf,sharing=locked \
--mount=type=cache,target=/var/cache/yum,sharing=locked \
dnf install -y \
dnf-plugins-core \
&& \
dnf config-manager --set-enabled powertools && \
rm -rf /tmp/*

RUN --mount=type=cache,target=/var/cache/dnf,sharing=locked \
--mount=type=cache,target=/var/cache/yum,sharing=locked \
dnf install -y \
sudo \
git \
python3 \
python3-distro \
python3-packaging \
gcc-toolset-11 \
&& \
rm -rf /tmp/*
Expand Down
1 change: 1 addition & 0 deletions externals_builder.centos7.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ RUN --mount=type=cache,target=/var/cache/yum,sharing=locked \
git \
python3 \
python36-distro \
python36-packaging \
devtoolset-10-gcc \
devtoolset-10-gcc-c++ \
&& \
Expand Down
1 change: 1 addition & 0 deletions externals_builder.debian11.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
git \
python3 \
python3-distro \
python3-packaging \
&& \
rm -rf /tmp/*

Expand Down
1 change: 1 addition & 0 deletions externals_builder.debian12.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
git \
python3 \
python3-distro \
python3-packaging \
&& \
rm -rf /tmp/*

Expand Down
9 changes: 9 additions & 0 deletions externals_builder.rocky9.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,22 @@ RUN --mount=type=cache,target=/var/cache/dnf,sharing=locked \
dnf update -y || [ "$?" -eq 100 ] && \
rm -rf /tmp/*

RUN --mount=type=cache,target=/var/cache/dnf,sharing=locked \
--mount=type=cache,target=/var/cache/yum,sharing=locked \
dnf install -y \
dnf-plugins-core \
&& \
dnf config-manager --set-enabled crb && \
rm -rf /tmp/*

RUN --mount=type=cache,target=/var/cache/dnf,sharing=locked \
--mount=type=cache,target=/var/cache/yum,sharing=locked \
dnf install -y \
sudo \
git \
python3 \
python3-distro \
python3-packaging \
gcc-toolset-12 \
&& \
rm -rf /tmp/*
Expand Down
1 change: 1 addition & 0 deletions externals_builder.ubuntu18.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
git \
python3 \
python3-distro \
python3-packaging \
&& \
rm -rf /tmp/*

Expand Down
1 change: 1 addition & 0 deletions externals_builder.ubuntu20.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
git \
python3 \
python3-distro \
python3-packaging \
&& \
rm -rf /tmp/*

Expand Down
1 change: 1 addition & 0 deletions externals_builder.ubuntu22.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
git \
python3 \
python3-distro \
python3-packaging \
&& \
rm -rf /tmp/*

Expand Down
5 changes: 3 additions & 2 deletions plugin_builder.almalinux8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,25 @@ 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 \
dnf install -y \
dnf-plugins-core \
epel-release \
sudo \
wget \
git \
rpm-build \
gcc-c++ \
&& \
dnf config-manager --set-enabled powertools && \
rm -rf /tmp/*

RUN --mount=type=cache,target=/var/cache/dnf,sharing=locked \
--mount=type=cache,target=/var/cache/yum,sharing=locked \
dnf install -y \
dnf-plugins-core \
python3 \
python3-devel \
python3-packaging \
python3-pip \
&& \
dnf config-manager --set-enabled powertools && \
rm -rf /tmp/*

# TODO: python3 is the only option at this time, so we don't really need this
Expand Down
1 change: 1 addition & 0 deletions plugin_builder.centos7.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ RUN --mount=type=cache,target=/var/cache/yum,sharing=locked \
python3 \
python3-devel \
python3-pip \
python36-packaging \
&& \
rm -rf /tmp/*

Expand Down
1 change: 1 addition & 0 deletions plugin_builder.debian11.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
lsb-release \
python3 \
python3-distro \
python3-packaging \
python3-pip \
python3-setuptools \
sudo \
Expand Down
1 change: 1 addition & 0 deletions plugin_builder.debian12.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
lsb-release \
python3 \
python3-distro \
python3-packaging \
python3-pip \
python3-setuptools \
sudo \
Expand Down
1 change: 1 addition & 0 deletions plugin_builder.rocky9.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ RUN --mount=type=cache,target=/var/cache/dnf,sharing=locked \
dnf install -y \
python3 \
python3-devel \
python3-packaging \
python3-pip \
&& \
rm -rf /tmp/*
Expand Down
1 change: 1 addition & 0 deletions plugin_builder.ubuntu18.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
libxml2-dev \
lsb-release \
python3 \
python3-packaging \
python3-pip \
python3-setuptools \
sudo \
Expand Down
1 change: 1 addition & 0 deletions plugin_builder.ubuntu20.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
lsb-release \
python3 \
python3-distro \
python3-packaging \
python3-pip \
python3-setuptools \
sudo \
Expand Down
1 change: 1 addition & 0 deletions plugin_builder.ubuntu22.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
lsb-release \
python3 \
python3-distro \
python3-packaging \
python3-pip \
python3-setuptools \
sudo \
Expand Down

0 comments on commit 5d246c5

Please sign in to comment.