From 41fbc55f7bee46401c06d666fcae5aff812d8598 Mon Sep 17 00:00:00 2001 From: Muzi Li Date: Thu, 2 Sep 2021 20:50:31 +0800 Subject: [PATCH] chore(build): add build strategy in workflow (#6) * feat(build): add centos8 and ubuntu18 os * chore(build): add build strategy in workflow * chore(build): add fedora33 fedora34 build dockerfile * chore(build): fix centos8 yum repo metadata error --- .github/workflows/build.yaml | 166 +++++++++++++----- build/Dockerfile.os.centos7 | 11 +- build/Dockerfile.os.centos8 | 24 +++ build/Dockerfile.os.debian10 | 7 +- build/Dockerfile.os.debian9 | 26 +++ build/Dockerfile.os.fedora33 | 20 +++ build/Dockerfile.os.fedora34 | 20 +++ build/Dockerfile.os.ubuntu1804 | 25 +++ ...e.os.ubuntu20 => Dockerfile.os.ubuntu2004} | 7 +- packages.yaml | 20 ++- ...All-in-One.repo => CentOS-All-in-One.repo} | 0 repos/Fedora-All-in-One.repo | 6 + 12 files changed, 271 insertions(+), 61 deletions(-) create mode 100644 build/Dockerfile.os.centos8 create mode 100644 build/Dockerfile.os.debian9 create mode 100644 build/Dockerfile.os.fedora33 create mode 100644 build/Dockerfile.os.fedora34 create mode 100644 build/Dockerfile.os.ubuntu1804 rename build/{Dockerfile.os.ubuntu20 => Dockerfile.os.ubuntu2004} (75%) rename repos/{CentOS-7-All-in-One.repo => CentOS-All-in-One.repo} (100%) create mode 100644 repos/Fedora-All-in-One.repo diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ba05fb4..bb698c4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,23 +2,41 @@ name: Build os-packages image on: push: - branches: [main, release-*] - paths-ignore: - - 'docs/**' tag: - 'v*' - release: - branches: [main, release-*] - + branch: [main, release-*, master] + workflow_dispatch: env: IMAGE_REGISTRY: "ghcr.io" REGISTRY_USER: "${{ github.repository_owner }}" REGISTRY_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - OS_PACKAGES_IMAGE_REPO: "ghcr.io/${{ github.repository_owner }}/os-packages" + IMAGE_REPO: "ghcr.io/${{ github.repository_owner }}" jobs: build: runs-on: ubuntu-20.04 + strategy: + fail-fast: false + matrix: + include: + - name: ubuntu-bionic + image_name: os-packages-ubuntu1804 + dockerfile: build/Dockerfile.os.ubuntu1804 + - name: ubuntu-focal + image_name: os-packages-ubuntu2004 + dockerfile: build/Dockerfile.os.ubuntu2004 + - name: centos-7 + image_name: os-packages-centos7 + dockerfile: build/Dockerfile.os.centos7 + - name: centos-8 + image_name: os-packages-centos8 + dockerfile: build/Dockerfile.os.centos8 + - name: debian-buster + image_name: os-packages-debian10 + dockerfile: build/Dockerfile.os.debian10 + - name: debian-stretch + image_name: os-packages-debian9 + dockerfile: build/Dockerfile.os.debian9 steps: - name: Checkout uses: actions/checkout@v2 @@ -32,14 +50,6 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - - name: Cache Docker layers - uses: actions/cache@v2 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-buildx- - - name: Log in to GitHub Docker Registry uses: docker/login-action@v1 with: @@ -51,44 +61,110 @@ jobs: shell: bash run: | git describe --tags --always | sed 's/^/IMAGE_TAG=/' >> $GITHUB_ENV - git branch --show-current | sed 's/^/BRANCH_NAME=/' >> $GITHUB_ENV - git branch --show-current | sed 's/master/latest/;s/main/latest/;s/^/IMAGE_TAG_BY_BRANCH=/' >> $GITHUB_ENV - source $GITHUB_ENV - make merge-dockerfile - cat build/* .github/workflows/build.yaml packages.yaml \ - | md5sum | tr -d '\ -' | sed 's/^/OS_PACKAGES_MD5=md5-/' >> $GITHUB_ENV - if skopeo inspect docker://${OS_PACKAGES_IMAGE_REPO}:${BRANCH_NAME} > mainfest.json; then - jq -r '.Labels.MD5' mainfest.json | sed 's/^/LATEST_OS_PACKAGES_MD5=/' >> $GITHUB_ENV - else - echo 'LATEST_OS_PACKAGES_MD5=null' >> $GITHUB_ENV - fi - - - name: Replace Dockerfile if MD5 not update - if: ${{ env.OS_PACKAGES_MD5 == env.LATEST_OS_PACKAGES_MD5 }} - run: | - echo "FROM ${{ env.OS_PACKAGES_IMAGE_REPO }}:${{ env.OS_PACKAGES_MD5 }}" > build/Dockerfile.all - name: Build and push os-package images uses: docker/build-push-action@v2 with: context: . push: ${{ github.event_name != 'pull_request' }} - file: build/Dockerfile.all + file: ${{ matrix.dockerfile }} platforms: linux/amd64,linux/arm64 - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache-new - labels: MD5=${{ env.OS_PACKAGES_MD5 }} tags: | - ${{ env.OS_PACKAGES_IMAGE_REPO }}:${{ env.IMAGE_TAG }} - ${{ env.OS_PACKAGES_IMAGE_REPO }}:${{ env.OS_PACKAGES_MD5 }} - ${{ env.OS_PACKAGES_IMAGE_REPO }}:${{ env.BRANCH_NAME }} - ${{ env.OS_PACKAGES_IMAGE_REPO }}:${{ env.IMAGE_TAG_BY_BRANCH }} + ${{ env.IMAGE_REPO }}/${{ matrix.image_name }}:${{ env.IMAGE_TAG }} + + - name: Gen new Dockerfile + shell: bash + run: | + echo -e "FROM scratch\nCOPY --from=${{ env.IMAGE_REPO }}/${{ matrix.image_name }}:${{ env.IMAGE_TAG }} / /" > Dockerfile + + - name: Build kubeplay image to local + uses: docker/build-push-action@v2 + with: + context: . + file: Dockerfile + platforms: linux/amd64,linux/arm64 + outputs: type=local,dest=./ + + - name: Prepare for upload package + shell: bash + run: | + mv linux_amd64/resources resources + tar -I pigz -cf resources-${{ matrix.image_name }}-${IMAGE_TAG}-amd64.tar.gz resources --remove-files + mv linux_arm64/resources resources + tar -I pigz -cf resources-${{ matrix.image_name }}-${IMAGE_TAG}-arm64.tar.gz resources --remove-files + sha256sum resources-${{ matrix.image_name }}-${IMAGE_TAG}-{amd64,arm64}.tar.gz > resources-${{ matrix.image_name }}-${IMAGE_TAG}.sha256sum.txt + + - name: Release and upload packages + if: startsWith(github.ref, 'refs/tags/') + uses: softprops/action-gh-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + files: | + resources-${{ matrix.image_name }}-${{ env.IMAGE_TAG }}.sha256sum.txt + resources-${{ matrix.image_name }}-${{ env.IMAGE_TAG }}-amd64.tar.gz + resources-${{ matrix.image_name }}-${{ env.IMAGE_TAG }}-arm64.tar.gz + + upload: + needs: [build] + runs-on: ubuntu-20.04 + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + # fetch all git repo tag for define image tag + fetch-depth: 0 - - name: Move new cache + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + + - name: Log in to GitHub Docker Registry + uses: docker/login-action@v1 + with: + registry: ${{ env.IMAGE_REGISTRY }} + username: ${{ env.REGISTRY_USER }} + password: ${{ env.REGISTRY_TOKEN }} + + - name: Prepare for build images + shell: bash run: | - rm -rf /tmp/.buildx-cache - mkdir -p /tmp/.buildx-cache-new - mv /tmp/.buildx-cache-new /tmp/.buildx-cache + git describe --tags --always | sed 's/^/IMAGE_TAG=/' >> $GITHUB_ENV + source $GITHUB_ENV + echo "FROM scratch" > Dockerfile + echo "COPY --from=${{ env.IMAGE_REPO }}/os-packages-ubuntu1804:${IMAGE_TAG} / /" >> Dockerfile + echo "COPY --from=${{ env.IMAGE_REPO }}/os-packages-ubuntu2004:${IMAGE_TAG} / /" >> Dockerfile + echo "COPY --from=${{ env.IMAGE_REPO }}/os-packages-centos7:${IMAGE_TAG} / /" >> Dockerfile + echo "COPY --from=${{ env.IMAGE_REPO }}/os-packages-centos8:${IMAGE_TAG} / /" >> Dockerfile + echo "COPY --from=${{ env.IMAGE_REPO }}/os-packages-debian9:${IMAGE_TAG} / /" >> Dockerfile + echo "COPY --from=${{ env.IMAGE_REPO }}/os-packages-debian10:${IMAGE_TAG} / /" >> Dockerfile - # debug action - # - uses: mxschmitt/action-tmate@v3 + - name: Build os-packages images to local + uses: docker/build-push-action@v2 + with: + context: . + file: Dockerfile + platforms: linux/amd64,linux/arm64 + outputs: type=local,dest=./ + + - name: Prepare for upload package + shell: bash + run: | + mv linux_amd64/resources resources + tar -I pigz -cf resources-os-packages-all-${IMAGE_TAG}-amd64.tar.gz resources --remove-files + mv linux_arm64/resources resources + tar -I pigz -cf resources-os-packages-all-${IMAGE_TAG}-arm64.tar.gz resources --remove-files + sha256sum resources-os-packages-all-${IMAGE_TAG}-{amd64,arm64}.tar.gz > resources-os-packages-all-${IMAGE_TAG}.sha256sum.txt + + - name: Release and upload packages + if: startsWith(github.ref, 'refs/tags/') + uses: softprops/action-gh-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + files: | + resources-os-packages-all-${{ env.IMAGE_TAG }}.sha256sum.txt + resources-os-packages-all-${{ env.IMAGE_TAG }}-amd64.tar.gz + resources-os-packages-all-${{ env.IMAGE_TAG }}-arm64.tar.gz diff --git a/build/Dockerfile.os.centos7 b/build/Dockerfile.os.centos7 index e9c161a..c940919 100644 --- a/build/Dockerfile.os.centos7 +++ b/build/Dockerfile.os.centos7 @@ -1,21 +1,20 @@ FROM centos:7.9.2009 as os-centos7 ARG OS_VERSION=7 -ARG DOCKER_MIRROR_URL="https://download.docker.com" ARG BUILD_TOOLS="yum-utils createrepo epel-release wget" RUN yum install -q -y ${BUILD_TOOLS} \ - && yum-config-manager --add-repo ${DOCKER_MIRROR_URL}/linux/centos/docker-ce.repo \ + && yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo \ && yum makecache WORKDIR /centos/$OS_VERSION/os COPY packages.yaml . COPY --from=mikefarah/yq:4.11.1 /usr/bin/yq /usr/bin/yq -RUN yq eval '.common[],.yum[],.centos7[],.kubespray.common[],.kubespray.yum[]' packages.yaml > packages.list \ - && sort -u packages.list | xargs repotrack --urls | sort -u > packages.urls +RUN yq eval '.common[],.yum[],.centos7[],.kubespray.common[],.kubespray.yum[]' packages.yaml > packages.list RUN ARCH=$(uname -m) \ - && wget -q -x -P ${ARCH} -i packages.urls \ + && sort -u packages.list | xargs repotrack -p ${ARCH} \ && createrepo -d ${ARCH} FROM scratch -COPY --from=os-centos7 /centos /centos +COPY --from=os-centos7 /centos /resources/nginx/centos +COPY repos/CentOS-All-in-One.repo /resources/nginx/repos/CentOS-7-All-in-One.repo diff --git a/build/Dockerfile.os.centos8 b/build/Dockerfile.os.centos8 new file mode 100644 index 0000000..d00272b --- /dev/null +++ b/build/Dockerfile.os.centos8 @@ -0,0 +1,24 @@ +FROM centos:8 as os-centos8 +ARG OS_VERSION=8 +ARG BUILD_TOOLS="yum-utils createrepo epel-release wget" + +RUN ARCH=$(uname -m) \ + && dnf install -q -y ${BUILD_TOOLS} \ + && dnf install -q -y http://mirror.centos.org/centos/8-stream/AppStream/${ARCH}/os/Packages/modulemd-tools-0.7-4.el8.noarch.rpm \ + && yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo \ + && dnf makecache + +WORKDIR /centos/$OS_VERSION/os +COPY packages.yaml . +COPY --from=mikefarah/yq:4.11.1 /usr/bin/yq /usr/bin/yq +RUN yq eval '.common[],.yum[],.centos8[],.kubespray.common[],.kubespray.yum[]' packages.yaml > packages.list + +RUN ARCH=$(uname -m) \ + && sort -u packages.list | xargs repotrack --destdir ${ARCH} \ + && createrepo_c ${ARCH} \ + && repo2module -s stable ${ARCH} ${ARCH}/modules.yaml \ + && modifyrepo_c --mdtype=modules ${ARCH}/modules.yaml ${ARCH}/repodata + +FROM scratch +COPY --from=os-centos8 /centos /resources/nginx/centos +COPY repos/CentOS-All-in-One.repo /resources/nginx/repos/CentOS-8-All-in-One.repo diff --git a/build/Dockerfile.os.debian10 b/build/Dockerfile.os.debian10 index 5aa0201..aed81a0 100644 --- a/build/Dockerfile.os.debian10 +++ b/build/Dockerfile.os.debian10 @@ -1,14 +1,13 @@ FROM debian:buster-slim as os-buster ARG TARGETARCH ARG OS_VERSION=buster -ARG DOCKER_MIRROR_URL="https://download.docker.com" ARG DEP_PACKAGES="apt-transport-https ca-certificates curl wget gnupg dpkg-dev" RUN ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') \ && apt update -qq \ && apt install -y -qq --no-install-recommends $DEP_PACKAGES \ - && curl -fsSL "${DOCKER_MIRROR_URL}/linux/debian/gpg" | apt-key add -qq - \ - && echo "deb [arch=${ARCH}] ${DOCKER_MIRROR_URL}/linux/debian ${OS_VERSION} stable" > /etc/apt/sources.list.d/docker.list \ + && curl -fsSL "https://download.docker.com/linux/debian/gpg" | apt-key add -qq - \ + && echo "deb [arch=${ARCH}] https://download.docker.com/linux/debian ${OS_VERSION} stable" > /etc/apt/sources.list.d/docker.list \ && apt update -qq WORKDIR /debian/${TARGETARCH} @@ -24,4 +23,4 @@ RUN wget -q -x -P ${OS_VERSION} -i packages.urls \ && dpkg-scanpackages ${OS_VERSION} | gzip -9c > ${OS_VERSION}/Packages.gz FROM scratch -COPY --from=os-buster /debian /debian +COPY --from=os-buster /debian /resources/nginx/debian diff --git a/build/Dockerfile.os.debian9 b/build/Dockerfile.os.debian9 new file mode 100644 index 0000000..f7d8113 --- /dev/null +++ b/build/Dockerfile.os.debian9 @@ -0,0 +1,26 @@ +FROM debian:stretch-slim as os-stretch +ARG TARGETARCH +ARG OS_VERSION=stretch +ARG DEP_PACKAGES="apt-transport-https ca-certificates curl wget gnupg dpkg-dev" + +RUN ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') \ + && apt update -qq \ + && apt install -y -qq --no-install-recommends $DEP_PACKAGES \ + && curl -fsSL "https://download.docker.com/linux/debian/gpg" | apt-key add -qq - \ + && echo "deb [arch=${ARCH}] https://download.docker.com/linux/debian ${OS_VERSION} stable" > /etc/apt/sources.list.d/docker.list \ + && apt update -qq + +WORKDIR /debian/${TARGETARCH} +COPY packages.yaml . + +COPY --from=mikefarah/yq:4.11.1 /usr/bin/yq /usr/bin/yq +COPY --from=mikefarah/yq:4.11.1 /usr/bin/yq /usr/bin/yq +RUN yq eval '.common[],.apt[],.kubespray.common[],.kubespray.apt[],.debian9[]' packages.yaml > packages.list \ + && dpkg --get-selections | grep -v deinstall | cut -f1 | cut -d ':' -f1 >> packages.list \ + && sort -u packages.list | xargs apt-get install --reinstall --print-uris | awk -F "'" '{print $2}' | grep -v '^$' | sort -u > packages.urls + +RUN wget -q -x -P ${OS_VERSION} -i packages.urls \ + && dpkg-scanpackages ${OS_VERSION} | gzip -9c > ${OS_VERSION}/Packages.gz + +FROM scratch +COPY --from=os-stretch /debian /resources/nginx/debian diff --git a/build/Dockerfile.os.fedora33 b/build/Dockerfile.os.fedora33 new file mode 100644 index 0000000..f36086b --- /dev/null +++ b/build/Dockerfile.os.fedora33 @@ -0,0 +1,20 @@ +FROM fedora:33 as os-fedora33 +ARG OS_VERSION=33 +ARG BUILD_TOOLS="yum-utils createrepo findutils" + +RUN dnf install -q -y ${BUILD_TOOLS} +RUN yum-config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo +RUN dnf makecache -q + +WORKDIR /fedora/$OS_VERSION/os +COPY packages.yaml . +COPY --from=mikefarah/yq:4.11.1 /usr/bin/yq /usr/bin/yq +RUN yq eval '.common[],.yum[],.fedora[],.fedora33[],.kubespray.common[],.kubespray.yum[]' packages.yaml > packages.list + +RUN ARCH=$(uname -m) \ + && sort -u packages.list | xargs repotrack --destdir ${ARCH} \ + && createrepo -d ${ARCH} + +FROM scratch +COPY --from=os-fedora33 /fedora /resources/nginx/fedora +COPY repos/Fedora-All-in-One.repo /resources/nginx/repos/Fedora-33-All-in-One.repo diff --git a/build/Dockerfile.os.fedora34 b/build/Dockerfile.os.fedora34 new file mode 100644 index 0000000..736d432 --- /dev/null +++ b/build/Dockerfile.os.fedora34 @@ -0,0 +1,20 @@ +FROM fedora:34 as os-fedora34 +ARG OS_VERSION=34 +ARG BUILD_TOOLS="yum-utils createrepo findutils" + +RUN dnf install -q -y ${BUILD_TOOLS} \ + && yum-config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo \ + && dnf makecache -q + +WORKDIR /fedora/$OS_VERSION/os +COPY packages.yaml . +COPY --from=mikefarah/yq:4.11.1 /usr/bin/yq /usr/bin/yq +RUN yq eval '.common[],.yum[],.fedora[],.fedora34[],.kubespray.common[],.kubespray.yum[]' packages.yaml > packages.list + +RUN ARCH=$(uname -m) \ + && sort -u packages.list | xargs repotrack --destdir ${ARCH} \ + && createrepo -d ${ARCH} + +FROM scratch +COPY --from=os-fedora34 /fedora /resources/nginx/fedora +COPY repos/Fedora-All-in-One.repo /resources/nginx/repos/Fedora-34-All-in-One.repo diff --git a/build/Dockerfile.os.ubuntu1804 b/build/Dockerfile.os.ubuntu1804 new file mode 100644 index 0000000..9b23de5 --- /dev/null +++ b/build/Dockerfile.os.ubuntu1804 @@ -0,0 +1,25 @@ +FROM ubuntu:bionic as os-bionic +ARG TARGETARCH +ARG OS_VERSION=bionic +ARG DEP_PACKAGES="apt-transport-https ca-certificates curl wget gnupg dpkg-dev" + +RUN ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') \ + && apt update -qq \ + && apt install -y --no-install-recommends $DEP_PACKAGES \ + && curl -fsSL "https://download.docker.com/linux/debian/gpg" | apt-key add -qq - \ + && echo "deb [arch=$ARCH] https://download.docker.com/linux/ubuntu ${OS_VERSION} stable" > /etc/apt/sources.list.d/docker.list\ + && apt update -qq + +WORKDIR /ubuntu/${TARGETARCH} +COPY packages.yaml . + +COPY --from=mikefarah/yq:4.11.1 /usr/bin/yq /usr/bin/yq +RUN yq eval '.common[],.apt[],.kubespray.common[],.kubespray.apt[],.ubuntu[]' packages.yaml > packages.list \ + && dpkg --get-selections | grep -v deinstall | cut -f1 | cut -d ':' -f1 >> packages.list \ + && sort -u packages.list | xargs apt-get install --reinstall --print-uris | awk -F "'" '{print $2}' | grep -v '^$' | sort -u > packages.urls + +RUN wget -q -x -P ${OS_VERSION} -i packages.urls \ + && dpkg-scanpackages ${OS_VERSION} | gzip -9c > ${OS_VERSION}/Packages.gz + +FROM scratch +COPY --from=os-bionic /ubuntu /resources/nginx/ubuntu diff --git a/build/Dockerfile.os.ubuntu20 b/build/Dockerfile.os.ubuntu2004 similarity index 75% rename from build/Dockerfile.os.ubuntu20 rename to build/Dockerfile.os.ubuntu2004 index 11e2cc1..1315e8b 100644 --- a/build/Dockerfile.os.ubuntu20 +++ b/build/Dockerfile.os.ubuntu2004 @@ -1,14 +1,13 @@ FROM ubuntu:focal as os-focal ARG TARGETARCH ARG OS_VERSION=focal -ARG DOCKER_MIRROR_URL="https://download.docker.com" ARG DEP_PACKAGES="apt-transport-https ca-certificates curl wget gnupg dpkg-dev" RUN ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') \ && apt update -qq \ && apt install -y --no-install-recommends $DEP_PACKAGES \ - && curl -fsSL "${DOCKER_MIRROR_URL}/linux/debian/gpg" | apt-key add -qq - \ - && echo "deb [arch=$ARCH] ${DOCKER_MIRROR_URL}/linux/ubuntu ${OS_VERSION} stable" > /etc/apt/sources.list.d/docker.list\ + && curl -fsSL "https://download.docker.com/linux/debian/gpg" | apt-key add -qq - \ + && echo "deb [arch=$ARCH] https://download.docker.com/linux/ubuntu ${OS_VERSION} stable" > /etc/apt/sources.list.d/docker.list\ && apt update -qq WORKDIR /ubuntu/${TARGETARCH} @@ -23,4 +22,4 @@ RUN wget -q -x -P ${OS_VERSION} -i packages.urls \ && dpkg-scanpackages ${OS_VERSION} | gzip -9c > ${OS_VERSION}/Packages.gz FROM scratch -COPY --from=os-focal /ubuntu /ubuntu +COPY --from=os-focal /ubuntu /resources/nginx/ubuntu diff --git a/packages.yaml b/packages.yaml index 980943c..3b7069a 100644 --- a/packages.yaml +++ b/packages.yaml @@ -15,7 +15,6 @@ kubespray: yum: - nss - - libselinux-python - device-mapper-libs - conntrack-tools @@ -43,7 +42,6 @@ yum: - nfs-utils - yum-utils - createrepo - - epel-release - nc - httpd-tools @@ -60,10 +58,28 @@ apt: - apache2-utils centos7: + - libselinux-python - containerd.io-1.4.6 +centos8: + - containerd.io-1.4.6 + - libselinux-python3 + ubuntu: - containerd.io=1.4.6-1 +debian9: + - containerd.io=1.4.3-1 + debian10: - containerd.io=1.4.6-1 + +fedora: + - python3 + - libselinux-python3 + +fedora33: + - containerd.io-1.4.6-3.1.fc33 + +fedora34: + - containerd.io-1.4.6-3.1.fc34 diff --git a/repos/CentOS-7-All-in-One.repo b/repos/CentOS-All-in-One.repo similarity index 100% rename from repos/CentOS-7-All-in-One.repo rename to repos/CentOS-All-in-One.repo diff --git a/repos/Fedora-All-in-One.repo b/repos/Fedora-All-in-One.repo new file mode 100644 index 0000000..ec58ebb --- /dev/null +++ b/repos/Fedora-All-in-One.repo @@ -0,0 +1,6 @@ +[docker-ce] +name=docker-ce +baseurl=http://127.0.0.1:8080/fedora/$releasever/os/$basearch/ +enabled=1 +gpgcheck=0 +sslverify=0