pkgcheck-dockerfile/readme.md
2025-12-10 01:26:31 +01:00

25 lines
781 B
Markdown

# Build instructions
Update dependent images:
```commandline
docker image pull gentoo/portage:latest
docker image pull gentoo/stage3:amd64-nomultilib-openrc
```
Run `docker build .` in this directory. After the build succeeds, note the image hash.
# Publishing
Tag the built image with the current date as the name:
```commandline
docker image tag <hash> fritteli/pkgcheck:yyyyMMdd
docker image tag <hash> fritteli/pkgcheck:latest
docker image tag <hash> gittr.ch/linux/pkgcheck:yyyyMMdd
docker image tag <hash> gittr.ch/linux/pkgcheck:latest
```
Push the tagged images:
```commandline
docker image push fritteli/pkgcheck:yyyyMMdd
docker image push fritteli/pkgcheck:latest
docker image push gittr.ch/linux/pkgcheck:yyyyMMdd
docker image push gittr.ch/linux/pkgcheck:latest
```