Update readme and fix warning.
This commit is contained in:
parent
7e3687f776
commit
ae1fdbe7ed
2 changed files with 5 additions and 8 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Portage tree.
|
# Portage tree.
|
||||||
FROM gentoo/portage:latest as portage
|
FROM gentoo/portage:latest AS portage
|
||||||
|
|
||||||
# Base Gentoo image
|
# Base Gentoo image
|
||||||
FROM gentoo/stage3:amd64-nomultilib-openrc as build
|
FROM gentoo/stage3:amd64-nomultilib-openrc AS build
|
||||||
LABEL maintainer=manuel@fritteli.ch
|
LABEL maintainer=manuel@fritteli.ch
|
||||||
LABEL description="Gentoo pkgcheck image"
|
LABEL description="Gentoo pkgcheck image"
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,13 @@
|
||||||
# Build instructions
|
# Build instructions
|
||||||
|
|
||||||
Run `docker build .` in this directory. After the build succeeds, note the image hash.
|
Update dependent images:
|
||||||
|
|
||||||
|
|
||||||
# Troubleshooting
|
|
||||||
|
|
||||||
If you get any error during the build, try pulling the required base images prior to building:
|
|
||||||
```commandline
|
```commandline
|
||||||
docker image pull gentoo/portage:latest
|
docker image pull gentoo/portage:latest
|
||||||
docker image pull gentoo/stage3:amd64-nomultilib-openrc
|
docker image pull gentoo/stage3:amd64-nomultilib-openrc
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Run `docker build .` in this directory. After the build succeeds, note the image hash.
|
||||||
|
|
||||||
# Publishing
|
# Publishing
|
||||||
Tag the built image with the current date as the name:
|
Tag the built image with the current date as the name:
|
||||||
```commandline
|
```commandline
|
||||||
|
|
Loading…
Add table
Reference in a new issue