1
0
mirror of https://github.com/sjlongland/gentoo-docker-builder.git synced 2025-09-13 10:03:17 +10:00
Commit Graph

3 Commits

Author SHA1 Message Date
c7254f6d28
mkimg.sh: Ignore return value from docker rmi.
If `docker images` fails to find any dangling images, it returns no
values and `docker rmi` complains there's nothing to delete.  The
clean-up step failing is annoying rather than harmful.
2017-05-21 17:43:18 +10:00
4dbc9609fb
mkimg.sh: Declare /usr/portage and /var/lib/layman mountpoints.
This allows us to ship a "development" image that has all the binaries
and Portage tree embedded, and a "runtime" image without.

To install a package, we spin up the "development" image into a running
container and let it build any additional packages needed, then we can
spin up the runtime using `--volumes-from` pointing at the development
container before running `emerge -K` to install them.

After that is done, `docker commit` will commit that instance of the
runtime image to a new image which is our bundled package container.
2017-05-21 17:40:00 +10:00
2634253df3
Initial check-in 2017-04-23 08:02:51 +10:00