Skip to content

Commit

Permalink
remove centos and docker from dependencies repository
Browse files Browse the repository at this point in the history
Signed-off-by: pixiake <[email protected]>
  • Loading branch information
pixiake committed Sep 10, 2024
1 parent cf7ac76 commit 2e80676
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 45 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/gen-repository-iso.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@ jobs:
fail-fast: false
matrix:
include:
- name: centos7-rpms
dockerfile: dockerfile.centos7
- name: almalinux-9.0-rpms
dockerfile: dockerfile.almalinux90
- name: debian10-debs
dockerfile: dockerfile.debian10
- name: debian11-debs
dockerfile: dockerfile.debian11
- name: ubuntu-16.04-debs
dockerfile: dockerfile.ubuntu1604
- name: ubuntu-18.04-debs
dockerfile: dockerfile.ubuntu1804
- name: ubuntu-20.04-debs
Expand Down
1 change: 0 additions & 1 deletion hack/gen-repository-iso/dockerfile.almalinux90
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ ARG DIR=almalinux-9.0-${TARGETARCH}-rpms
ARG PKGS=.common[],.rpms[],.almalinux[],.almalinux90[]

RUN dnf install -q -y ${BUILD_TOOLS} \
&& dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo \
&& dnf makecache

WORKDIR package
Expand Down
1 change: 0 additions & 1 deletion hack/gen-repository-iso/dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ ARG BUILD_TOOLS="yum-utils createrepo mkisofs epel-release"
ARG DIR=${OS}${OS_VERSION}-${TARGETARCH}-rpms

RUN yum install -q -y ${BUILD_TOOLS} \
&& yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo \
&& yum makecache

WORKDIR package
Expand Down
2 changes: 0 additions & 2 deletions hack/gen-repository-iso/dockerfile.debian10
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ RUN ARCH=$(dpkg --print-architecture) \
curl -fsSL https://download.gluster.org/pub/gluster/glusterfs/7/rsa.pub | apt-key add - ; \
echo deb https://download.gluster.org/pub/gluster/glusterfs/7/LATEST/Debian/${OS_VERSION}/amd64/apt ${OS_RELEASE} main > /etc/apt/sources.list.d/gluster.list ; \
fi \
&& curl -fsSL "https://download.docker.com/linux/debian/gpg" | apt-key add -qq - \
&& echo "deb [arch=$TARGETARCH] https://download.docker.com/linux/debian ${OS_RELEASE} stable" > /etc/apt/sources.list.d/docker.list \
&& apt update -qq

WORKDIR /package
Expand Down
2 changes: 0 additions & 2 deletions hack/gen-repository-iso/dockerfile.debian11
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ RUN ARCH=$(dpkg --print-architecture) \
curl -fsSL https://download.gluster.org/pub/gluster/glusterfs/7/rsa.pub | apt-key add - ; \
echo deb https://download.gluster.org/pub/gluster/glusterfs/7/LATEST/Debian/${OS_VERSION}/amd64/apt ${OS_RELEASE} main > /etc/apt/sources.list.d/gluster.list ; \
fi \
&& curl -fsSL "https://download.docker.com/linux/debian/gpg" | apt-key add -qq - \
&& echo "deb [arch=$TARGETARCH] https://download.docker.com/linux/debian ${OS_RELEASE} stable" > /etc/apt/sources.list.d/docker.list \
&& apt update -qq \
&& apt upgrade -y -qq

Expand Down
2 changes: 0 additions & 2 deletions hack/gen-repository-iso/dockerfile.ubuntu1804
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ RUN dpkg --get-selections | grep -v deinstall | cut -f1 | cut -d ':' -f1 > packa
RUN apt update -qq \
&& apt install -y --no-install-recommends $BUILD_TOOLS \
&& add-apt-repository ppa:gluster/glusterfs-7 -y \
&& curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq - \
&& echo "deb [arch=$TARGETARCH] https://download.docker.com/linux/ubuntu ${OS_RELEASE} stable" > /etc/apt/sources.list.d/docker.list\
&& apt update -qq

WORKDIR /package
Expand Down
2 changes: 0 additions & 2 deletions hack/gen-repository-iso/dockerfile.ubuntu2004
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ RUN dpkg --get-selections | grep -v deinstall | cut -f1 | cut -d ':' -f1 > packa
RUN apt update -qq \
&& apt install -y --no-install-recommends $BUILD_TOOLS \
&& add-apt-repository ppa:gluster/glusterfs-7 -y \
&& curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq - \
&& echo "deb [arch=$TARGETARCH] https://download.docker.com/linux/ubuntu ${OS_RELEASE} stable" > /etc/apt/sources.list.d/docker.list\
&& apt update -qq

WORKDIR /package
Expand Down
2 changes: 0 additions & 2 deletions hack/gen-repository-iso/dockerfile.ubuntu2204
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ RUN dpkg --get-selections | grep -v deinstall | cut -f1 | cut -d ':' -f1 > packa
RUN apt update -qq \
&& apt install -y --no-install-recommends $BUILD_TOOLS \
#&& add-apt-repository ppa:gluster/glusterfs-7 -y \
&& curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq - \
&& echo "deb [arch=$TARGETARCH] https://download.docker.com/linux/ubuntu ${OS_RELEASE} stable" > /etc/apt/sources.list.d/docker.list\
&& apt update -qq

WORKDIR /package
Expand Down
39 changes: 10 additions & 29 deletions hack/gen-repository-iso/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,45 +40,26 @@ debs:
- software-properties-common
- sudo

centos:
- containerd.io
centos: []

centos7:
- libselinux-python
- docker-ce-20.10.8
- docker-ce-cli-20.10.8

debian:
- containerd.io
debian: []

debian10:
- docker-ce=5:20.10.8~3-0~debian-buster
- docker-ce-cli=5:20.10.8~3-0~debian-buster
debian10: []

debian11:
- docker-ce=5:20.10.8~3-0~debian-bullseye
- docker-ce-cli=5:20.10.8~3-0~debian-bullseye
debian11: []

ubuntu:
- containerd.io
ubuntu: []

ubuntu1804:
- docker-ce=5:20.10.8~3-0~ubuntu-bionic
- docker-ce-cli=5:20.10.8~3-0~ubuntu-bionic
ubuntu1804: []

ubuntu2004:
- docker-ce=5:20.10.8~3-0~ubuntu-focal
- docker-ce-cli=5:20.10.8~3-0~ubuntu-focal
ubuntu2004: []

# The minimum version of docker-ce on ubuntu 2204 is 20.10.13
ubuntu2204:
- docker-ce=5:20.10.13~3-0~ubuntu-jammy
- docker-ce-cli=5:20.10.13~3-0~ubuntu-jammy
ubuntu2204: []

almalinux:
- containerd.io
- docker-compose-plugin
almalinux: []

almalinux90:
- docker-ce-20.10.17
- docker-ce-cli-20.10.17
almalinux90: []

0 comments on commit 2e80676

Please sign in to comment.