Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo-stage4 docker images
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
snake111
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2004
Posts: 117

PostPosted: Sun Oct 06, 2019 5:41 pm    Post subject: gentoo-stage4 docker images Reply with quote

Hei,
after quite some tears and pains, I managed to create and test a Dockerfile to build a minimal gentoo box.
I use it mainly for development or as a starting clean stage for a docker container where I can then emerge other packages.
You can find it here: gentoo-stage4-docker.

What's in it?

  • Minimal pre-configuration included in the Dockerfile
  • Possible to specify build time arguments like -nomultilib, -hardened, -j MAKEOPTS
  • System re-compiled using -march=native optimizations
  • Final image size for the -nomultilib image is <900 MiB, without portage


Hope it helps, feel free to point out any possible improvement.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum