diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -1,13 +1,13 @@ -FROM tianon/gentoo-stage3 +FROM gentoo/stage3-amd64:20190829 -RUN touch /etc/init.d/functions.sh && \ - echo 'PYTHON_TARGETS="${PYTHON_TARGETS} python2_7"' >> /etc/portage/make.conf && \ - echo 'PYTHON_SINGLE_TARGET="python2_7"' >> /etc/portage/make.conf +RUN emerge --sync && \ + emerge -1 portage -RUN \ - emerge --sync && \ - emerge gcc distcc && \ - rm -rf /usr/portage/* +#RUN touch /etc/init.d/functions.sh && \ +# echo 'PYTHON_TARGETS="${PYTHON_TARGETS} python3_6"' >> /etc/portage/make.conf && \ +# echo 'PYTHON_SINGLE_TARGET="python3_6"' >> /etc/portage/make.conf + +RUN emerge =gcc-8.3.0* distcc RUN ( \ echo "#!/bin/sh" && \ @@ -16,6 +16,10 @@ RUN ( \ ) > /usr/local/sbin/distccd-launcher && \ chmod +x /usr/local/sbin/distccd-launcher + +RUN rm -rf /usr/portage/* + +#CMD ["/usr/local/sbin/distccd-launcher", "--allow", "0.0.0.0/0", "--user", "distcc", "--log-level", "notice", "--log-stderr", "--no-detach", "--verbose"] CMD ["/usr/local/sbin/distccd-launcher", "--allow", "0.0.0.0/0", "--user", "distcc", "--log-level", "notice", "--log-stderr", "--no-detach"] EXPOSE 3632 |