Skip to content
프로젝트

lpenz/docker-debian-releases

GitHub에서 보기

소개

Creates docker images of historic Debian-based distribution releases

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
기록 수집 중
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

docker-debian-releases

CI

This repository creates docker images of Debian-based system using debootstrap, for various architectures, and uploads them to docker hub using github actions.

Organization

To avoid having to track the combinations of each distribution and architecture manually, this repository gets the parameters of debootstrap from the current branch name, and then scraps a list of mirrors to figure out which ones to use. That way, to support a new release, we have to simply push a new remote branch on top of HEAD. The following scripts are in charge of this mechanism:

  • docker-create-debian-image: shell script that creates a docker image for a specific Debian or Ubuntu release, architecture and debootstrap variant.
  • branch-info: python script that translates the name of the branch being pushed to all the information about the image to be built and deployed.
  • dockerhub-set-descriptions: updates the short and long description of the image in docker hub after a new version is deployed.

The status page is also created by a github action, from information obtained from scrapping all available mirrors. The following scripts are in charge of this process:

  • apt-mirrors-info: scraps Debian and Ubuntu repositories and outputs a json with information about all releases it can find.
  • json-tmpl-render: renders a template file with information from a json file.
  • index.md.tmpl: template for the status page, which combines the information obtained by apt-mirrors-info and github-branch-workflow-run into a table of images and statuses with links to the corresponding build jobs.
  • SConstruct: scons script that builds the Rust tools and the generated files from them. Run cargo test to test the tools.

관련 프로젝트 살펴보기

불러오는 중…