Skip to content

Instantly share code, notes, and snippets.

@autch
Created July 16, 2018 07:29
Show Gist options
  • Save autch/cb025d6b612c8c2f0f5a68f4a9ea5a4d to your computer and use it in GitHub Desktop.
Save autch/cb025d6b612c8c2f0f5a68f4a9ea5a4d to your computer and use it in GitHub Desktop.
distcc サーバを Docker で建てる
FROM debian:stretch
RUN apt-get update && \
apt-get install -y build-essential gcc make distcc ccache && \
apt-get clean && \
rm -rf /var/lib/apt/lists
EXPOSE 3632
CMD ["/usr/bin/distccd", "--allow", "0.0.0.0/0", "--daemon", "--no-detach", "--log-stderr"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment