# DOCKER-VERSION 0.6.7
# 13.10 - 04 has a missing ppa for postgresql 9.2 at the moment (26/10/2013)
-FROM samsaffron/discourse_base
+FROM samsaffron/discourse_base:0.1.1
MAINTAINER Sam Saffron "https://twitter.com/samsaffron"
git clone --depth 1 https://github.com/discourse/discourse.git &&\
chown -R discourse:discourse /var/www/discourse && cd / &&\
cd /var/www/discourse &&\
- sudo -u discourse RAILS4=1 bundle install -j4 --deployment \
+ sudo -u discourse RAILS4=1 bundle install --deployment \
--without test --without development &&\
cd /var/www/discourse/vendor/bundle &&\
find . -name tmp -type d | xargs rm -rf && cd /
rm -rf /src/ruby-build &&\
ruby-build 2.0.0-p353 /usr/local &&\
gem update --system &&\
- gem install bundler --pre &&\
+ gem install bundler &&\
cd / && git clone https://github.com/SamSaffron/pups.git &&\
mkdir /jemalloc && cd /jemalloc &&\
wget http://www.canonware.com/download/jemalloc/jemalloc-3.4.1.tar.bz2 &&\