From dd3eeee751f801135e7cf0d23a96f20272186389 Mon Sep 17 00:00:00 2001
From: georg <georg@riseup.net>
Date: Sun, 24 Feb 2019 00:16:29 +0000
Subject: [PATCH] Try to make the gentoo build faster

---
 gentoo | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gentoo b/gentoo
index 294abf0..53149af 100644
--- a/gentoo
+++ b/gentoo
@@ -1,4 +1,8 @@
-FROM gentoo/stage3-amd64
+FROM gentoo/portage:latest as portage
+FROM gentoo/stage3-amd64:latest
+
+COPY --from=portage /usr/portage /usr/portage
+
 ENV ACCEPT_KEYWORDS="~amd64" \
     EMERGE_DEFAULT_OPTS="--buildpkg --jobs=9 --load-average=8 --with-bdeps=y --usepkg" \
     MAKEOPTS="-j9 -l8" \
-- 
GitLab