RUN rc-update add buildmaster default
RUN rc-update add buildslave default
-# Container networking happens automatically
-RUN sed -i 's/need net$/use net/' /etc/init.d/*
-
RUN buildbot create-master /var/lib/buildmaster
RUN mv /var/lib/buildmaster/master.cfg.sample /var/lib/buildmaster/master.cfg
RUN buildslave create-slave /var/lib/buildslave localhost:9989 example-slave pass
RUN git clone git://github.com/dotcloud/docker-registry.git
RUN cp --no-clobber docker-registry/config/config_sample.yml docker-registry/config/config.yml
-# Container networking happens automatically
-RUN sed -i 's/need net$/use net/' /etc/init.d/*
-
CMD cd docker-registry && ./setup-configs.sh && ./run.sh --preload
EXPOSE 5000
RUN sed -i 's/^\(rootLogger: .*\), file$/\1, syslog/' /etc/elasticsearch/logging.yml
RUN sed -i 's/^\(appender:\)$/\1\n syslog:\n type: syslog\n syslogHost: localhost:514\n facility: daemon\n laout:\n type: pattern\n conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"\n/' /etc/elasticsearch/logging.yml
-# Container networking happens automatically
-RUN sed -i 's/need net$/use net/' /etc/init.d/*
-
EXPOSE 9200
RUN cd hubot && npm install
RUN git clone git://github.com/jenrzzz/hubot-logger.git && cp hubot-logger/logger.coffee hubot/node_modules/hubot-scripts/src/scripts/
-# Container networking happens automatically
-RUN sed -i 's/need net$/use net/' /etc/init.d/*
-
CMD cd hubot && REDIS_URL="${REDIS_PORT}" LOG_REDIS_URL="${REDIS_PORT}" PORT=80 exec bin/hubot --name "${HUBOT_IRC_NICK:-hubot}" -a irc
EXPOSE 80
EXPOSE 8000
RUN eselect news read new
RUN rc-update add memcached default
-# Container networking happens automatically
-RUN sed -i 's/need net$/use net/' /etc/init.d/*
-
CMD sed -i "s/^MEMUSAGE=.*/MEMUSAGE=\"${MEMUSAGE}\"/" /etc/conf.d/memcached && rc default && exec tail-syslog
EXPOSE 11211
RUN sed -i 's/server_name localhost;/server_name _;/' /etc/nginx/nginx.conf
RUN mkdir /var/www/localhost/htdocs
-# Container networking happens automatically
-RUN sed -i 's/need net$/use net/' /etc/init.d/*
-
EXPOSE 80
RUN sed -i 's/;AdminEMail = admin@irc.server/AdminEMail = ${EMAIL}/' /etc/ngircd/ngircd.conf
RUN sed -i 's/Info = Server Info Text/Info = ${INFO}/' /etc/ngircd/ngircd.conf
-# Container networking happens automatically
-RUN sed -i 's/need net$/use net/' /etc/init.d/*
-
CMD setup-ngircd-config-from-environment && rc default && exec tail-syslog
EXPOSE 6667
Run echo 'PC_USER="root"' >> /etc/conf.d/package-cache
Run echo 'PC_GROUP="root"' >> /etc/conf.d/package-cache
-# Container networking happens automatically
-RUN sed -i 's/need net$/use net/' /etc/init.d/*
-
EXPOSE 80
# Setup logging
RUN sed -i "s/\(#log_destination =.*\)/log_destination = 'syslog'\n\1/" /etc/postgresql*/postgresql.conf
-# Container networking happens automatically
-RUN sed -i 's/need net$/use net/' /etc/init.d/*
-
EXPOSE 5432
# Bind to all interfaces
RUN sed -i 's/bind /#bind /' /etc/redis.conf
-# Container networking happens automatically
-RUN sed -i 's/need net$/use net/' /etc/init.d/*
-
# A configurable environment variable (e.g. CONFIG_URL) would be nice.
# Until then, hardcode the tweaks I need.
RUN sed -i 's/\(# maxmemory-policy.*\)/\1\nmaxmemory-policy allkeys-lru/' /etc/redis.conf
RUN sed -i 's|^#\(log_file: file:///dev/log\)|\1|' /etc/salt/minion
RUN sed -i 's|^\(#log_level_logfile:.*\)$|\1\nlog_level_logfile: info|' /etc/salt/minion
-# Container networking happens automatically
-RUN sed -i 's/need net$/use net/' /etc/init.d/*
-
EXPOSE 80
RUN echo 'accept = 9999' >> /etc/stunnel/stunnel.conf
RUN echo 'connect = NETLOC' >> /etc/stunnel/stunnel.conf
-# Container networking happens automatically
-RUN sed -i 's/need net$/use net/' /etc/init.d/*
-
CMD sed -i "s|NETLOC|${SERVER_PORT#tcp://}|" /etc/stunnel/stunnel.conf && rc default && exec tail-syslog
EXPOSE 9999