distcc moved to _CI-CD
This commit is contained in:
22
_CI-CD/distcc/Dockerfile
Normal file
22
_CI-CD/distcc/Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
FROM debian:stable-slim
|
||||
|
||||
RUN sed -i 's@deb.debian.org@apt-cache.lan/deb.debian.org@g' /etc/apt/sources.list && \
|
||||
sed -i 's@security.debian.org@apt-cache.lan/security.debian.org@g' /etc/apt/sources.list && \
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf \
|
||||
multiarch-support dpkg-dev distcc ccache \
|
||||
build-essential gcc cpp g++ clang llvm && \
|
||||
apt-get clean -y && \
|
||||
rm -rf /var/lib/apt/lists/*; \
|
||||
rm -rf /var/cache/apt/*; \
|
||||
#removing distcc conf, no zeroconf
|
||||
rm -fv /etc/distcc/hosts
|
||||
|
||||
# Op port
|
||||
EXPOSE 3632
|
||||
# Stats port
|
||||
EXPOSE 3633
|
||||
|
||||
USER distccd
|
||||
ENTRYPOINT /usr/bin/distccd --no-detach --daemon --stats --log-level error --log-stderr $OPTIONS
|
||||
Reference in New Issue
Block a user