Add readme and rename Dockerfile.

This commit is contained in:
Manuel Friedli 2024-06-23 00:57:30 +02:00
parent c85ebd632f
commit 1cb257c485
Signed by: manuel
GPG key ID: 41D08ABA75634DA1
2 changed files with 24 additions and 0 deletions

24
readme.md Normal file
View file

@ -0,0 +1,24 @@
# Build instructions
Run `docker build .` in this directory. After the build succeeds, note the image hash.
# Troubleshooting
If you get any error during the build, try pulling the required base images prior to building:
```commandline
docker image pull gentoo/portage:latest
docker image pull gentoo/stage3:amd64-nomultilib-openrc
```
# Publishing
Tag the build image with the current date as the name:
```commandline
docker image tag <hash> fritteli/pkgcheck:yyyyMMdd
docker image tag <hash> fritteli/pkgcheck:latest
```
Push the tagged images:
```commandline
docker image push fritteli/pkgcheck:yyyyMMdd
docker image push fritteli/pkgcheck:latest
```