Skip to content
This repository has been archived by the owner on Mar 24, 2019. It is now read-only.
/ docker-gentoo Public archive

(Obsolete) Handy scripts to maintain gentoo-based docker images.

Notifications You must be signed in to change notification settings

kiyoya/docker-gentoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-gentoo

Scripts to build and maintain Gentoo-based docker images.

https://hub.docker.com/u/kiyoya/

Initial setup

./bootstrap.sh portage pull
./bootstrap.sh portage up
./bootstrap.sh portage sync

If you are on Windows (MinGW or WSL) and using ConEmu, Docker may not work well with pipes. See moby/moby#28814 for the context and workarounds.

Building a new image

./bootstrap.sh portage pull
./bootstrap.sh portage sync

# Prepare a new image.
./bootstrap.sh create "${NAME}"

# Emerge in the new image.
./bootstrap.sh emerge "${NAME}" [ package atoms here ]

# Run commands in the new image.
./bootstrap.sh chroot "${NAME}"

# Finish and build the new image.
./bootstrap.sh build "${NAME}"

# Clean-up: Delete outdated files from packages/distfiles.
./bootstrap.sh portage eclean

About

(Obsolete) Handy scripts to maintain gentoo-based docker images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published