# When new LTS ships we can upgrade
# NAME: discourse_base
-# VERSION: 1.0.3
+# VERSION: 1.0.4
FROM ubuntu:14.04
RUN echo 'gem: --no-document' >> /usr/local/etc/gemrc &&\
mkdir /src && cd /src && git clone https://github.com/sstephenson/ruby-build.git &&\
cd /src/ruby-build && ./install.sh &&\
- cd / && rm -rf /src/ruby-build && ruby-build 2.0.0-p481 /usr/local &&\
+ cd / && rm -rf /src/ruby-build && ruby-build 2.0.0-p576 /usr/local &&\
gem update --system &&\
- gem install bundler
+ gem install bundler &&\
+ rm -rf /usr/local/share/ri/2.0.0/system &&\
+ cd / && git clone https://github.com/SamSaffron/pups.git
-RUN cd / && git clone https://github.com/SamSaffron/pups.git
+# clean up for docker squash
+RUN rm -fr /usr/share/man && rm -fr /usr/share/doc
ADD runit-1 /etc/runit/1
ADD runit-1.d-cleanup-pids /etc/runit/1.d/cleanup-pids
cidfile=cids/"$config".cid
cidbootstrap=cids/"$config"_boostrap.cid
local_discourse=local_discourse
-image=samsaffron/discourse:1.0.3
+image=samsaffron/discourse:1.0.4
docker_path=`which docker.io || which docker`
if [ "${SUPERVISED}" = "true" ]; then