blob: 240105e5e8bd89df1cee626830ddc574e0a09cba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
FROM tianon/gentoo-stage3
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 gcc distcc && \
rm -rf /usr/portage/*
RUN ( \
echo "#!/bin/sh" && \
echo "eval \"\`gcc-config -E\`\"" && \
echo "exec distccd \"\$@\"" \
) > /usr/local/sbin/distccd-launcher && \
chmod +x /usr/local/sbin/distccd-launcher
CMD ["/usr/local/sbin/distccd-launcher", "--allow", "0.0.0.0/0", "--user", "distcc", "--log-level", "notice", "--log-stderr", "--no-detach"]
EXPOSE 3632
|