dev-sec / dev-sec/docker-ansible
Reduce Image sizes
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 27
- Forks
- 16
- Avg merge
- 15h 55m
- Merged PRs (30d)
- 1
Description
We are using these images for CI testing. These tests run very often, so having small images pays in time and also in ressource conservation. We should aim to create images of minimal size.
For refference these are the current sizes:
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/dev-sec/docker-alpine-ansible latest af951ddf1aa1 2 days ago 457 MB
ghcr.io/dev-sec/docker-amazon2023-ansible latest de5bdec68d62 2 hours ago 716 MB
ghcr.io/dev-sec/docker-amazon2-ansible latest 43a257a24b9c 2 days ago 428 MB
ghcr.io/dev-sec/docker-arch-ansible latest b8780266aaff 2 hours ago 1.39 GB
ghcr.io/dev-sec/docker-centos7-ansible latest 88579c4ee1b4 2 hours ago 967 MB
ghcr.io/dev-sec/docker-centos8-ansible latest 2153e2f811b8 2 hours ago 965 MB
ghcr.io/dev-sec/docker-centosstream8-ansible latest a2ef3f11fc2c 2 hours ago 793 MB
ghcr.io/dev-sec/docker-centosstream9-ansible latest e570f1f0e373 2 hours ago 719 MB
ghcr.io/dev-sec/docker-debian10-ansible latest 06391215a7f5 2 hours ago 1.02 GB
ghcr.io/dev-sec/docker-debian11-ansible latest 4c1a0819eacd 2 hours ago 887 MB
ghcr.io/dev-sec/docker-debian12-ansible latest dde018385671 2 hours ago 1.01 GB
ghcr.io/dev-sec/docker-fedora37-ansible latest 5b374bd02fc7 2 hours ago 844 MB
ghcr.io/dev-sec/docker-fedora38-ansible latest 8e1eecc729ca 2 hours ago 853 MB
ghcr.io/dev-sec/docker-opensuse_tumbleweed-ansible latest 65353cec8d5b 2 hours ago 879 MB
ghcr.io/dev-sec/docker-openwrt-ansible latest 07b0246ee9eb 2 hours ago 589 MB
ghcr.io/dev-sec/docker-oracle7-ansible latest 92fd7df2680b 2 days ago 4.22 GB
ghcr.io/dev-sec/docker-rocky8-ansible latest ca4dfb3ea864 2 hours ago 786 MB
ghcr.io/dev-sec/docker-rocky9-ansible latest e12490568e32 2 hours ago 793 MB
ghcr.io/dev-sec/docker-ubuntu1804-ansible latest 94011e3af663 2 days ago 281 MB
ghcr.io/dev-sec/docker-ubuntu2004-ansible latest c88164cc718f 2 days ago 334 MB
ghcr.io/dev-sec/docker-ubuntu2204-ansible latest cdf18b113c33 2 days ago 568 MB
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Dockerfiles or build definitions for the CI images listed in the issue and compare their contents and build layers. Reduce unnecessary image size while preserving the Ansible testing environments, then rebuild the images and verify their sizes and CI behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ansible, docker, dockerfile
- Domain
- ci-cd, devops, infrastructure, performance
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100