https://github.com/sainnhe/container-images
My builds of some container images
https://github.com/sainnhe/container-images
containers docker docker-image
Last synced: 4 months ago
JSON representation
My builds of some container images
- Host: GitHub
- URL: https://github.com/sainnhe/container-images
- Owner: sainnhe
- License: mit
- Created: 2022-08-14T14:02:28.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-04T01:39:59.000Z (about 2 years ago)
- Last Synced: 2025-01-29T17:33:46.247Z (over 1 year ago)
- Topics: containers, docker, docker-image
- Language: Dockerfile
- Homepage:
- Size: 49.8 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
This repository contains my personal builds of some container images. These images are built with small in mind, thus are very suitable for CI.
Here is a quick comparison of my builds of node and redis to the official images:
```shell
$ sudo docker images --format "{{.Repository}}:{{.Tag}} {{.Size}}" | grep node
sainnhe/node:18 67.4MB
sainnhe/node:16 61.1MB
node:16-alpine 111MB
node:18-alpine 164MB
node:16 853MB
node:18 939MB
$ sudo docker images --format "{{.Repository}}:{{.Tag}} {{.Size}}" | grep redis
sainnhe/redis:7 9.87MB
redis:7-alpine 28.2MB
redis:7 111MB
$ uname -a
Linux lima-fedora 5.18.17-200.fc36.aarch64 #1 SMP PREEMPT_DYNAMIC Thu Aug 11 13:58:26 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
$ docker --version
Docker version 20.10.17, build 100c701
```
As you can see, they are much smaller than the official debian based images, and are even smaller than the official alpine based images!
## List of images
These images support multiple architectures and will be built on schedule, you can pull them from the following registries:
- [`ghcr.io`](https://github.com/sainnhe?tab=packages&repo_name=container-images)
- [`quay.io`](https://quay.io/user/sainnhe)
Available tags:
- `sainnhe/build-tools:clang`
- `sainnhe/build-tools:gcc`, `sainnhe/build-tools:latest`
- `sainnhe/clang:latest`
- `sainnhe/cmake:latest`
- `sainnhe/gcc:latest`
- `sainnhe/git:latest`
- `sainnhe/hugo:latest`
- `sainnhe/mdbook:latest`
- `sainnhe/node:current`, `sainnhe/node:latest`
- `sainnhe/node:lts`
- `sainnhe/node-chromium:current`, `sainnhe/node-chromium:latest`
- `sainnhe/node-chromium:lts`
- `sainnhe/redis:latest`
- `sainnhe/vercel:latest`
- `sainnhe/archlinux:latest`
- `sainnhe/osv-scanner:latest`
## Arch Linux base image
There is also an Arch Linux base image. Compared to the official base image, it features the following:
- Keyring has been imported.
- Three repositories has been enabled: `community`, `multilib` and `archlinuxcn`
- A user `admin` has been created and can execute `sudo` command without password
Since Arch Linux is a rolling release distro, you need to run `pacman -Syu --noconfirm` before using.
Available tags:
- `sainnhe/archlinux:base`, `sainnhe/archlinux:latest`
- `sainnhe/archlinux:base-devel`
## License
[MIT](./LICENSE) © sainnhe