diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 21:06:35 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 21:06:35 +0200 |
commit | e09cde6bc49e9c10d604446bbb56401a34c58710 (patch) | |
tree | cc2644fd821b409b5e8972c490849e052484ae63 /Dockerfile | |
parent | ca74903c6c9e21ee2abe0201652f1ed22022099e (diff) | |
download | gentoo-distcc-e09cde6bc49e9c10d604446bbb56401a34c58710.tar.gz gentoo-distcc-e09cde6bc49e9c10d604446bbb56401a34c58710.tar.bz2 gentoo-distcc-e09cde6bc49e9c10d604446bbb56401a34c58710.tar.xz gentoo-distcc-e09cde6bc49e9c10d604446bbb56401a34c58710.zip |
Make it work with nowadays system
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 |