docker/bootstrap.sh in evrone-ci-worker-0.2.0.pre6 vs docker/bootstrap.sh in evrone-ci-worker-0.2.0.pre7

- old
+ new

@@ -46,10 +46,14 @@ # install ssh apt-get install -qy openssh-server mkdir -p /var/run/sshd sv-gen ssh "/usr/sbin/sshd -D -e" +# install syslog +apt-get install -qy rsyslog +sv-gen rsyslogd "/usr/sbin/rsyslogd -c5 -n" root + # install postgresql apt-get install -qy postgresql-9.1 postgresql-contrib-9.1 echo "local all all trust" > /etc/postgresql/9.1/main/pg_hba.conf echo "host all all all trust" >> /etc/postgresql/9.1/main/pg_hba.conf sv-gen postgresql "/usr/lib/postgresql/9.1/bin/postgres -D /var/lib/postgresql/9.1/main -c config_file=/etc/postgresql/9.1/main/postgresql.conf" postgres @@ -81,17 +85,20 @@ rm -f /tmp/$PH_PKG ln -sf /usr/local/$(basename $PH_PKG .tar.bz2)/bin/phantomjs /usr/local/bin # add ruby apt-get install -qy rbenv rbenv-2.0.0-p195 rbenv-1.9.3-p448 rbenv-2.0.0-p247 rbenv-1.9.3-p392 +apt-get install -qy ruby1.8 ruby1.8-dev rubygems # 1.8.7 env RBENV_VERSION=2.0.0-p247 rbenv exec gem install bundler --no-ri --no-rdoc env RBENV_VERSION=2.0.0-p195 rbenv exec gem install bundler --no-ri --no-rdoc env RBENV_VERSION=1.9.3-p448 rbenv exec gem install bundler --no-ri --no-rdoc env RBENV_VERSION=1.9.3-p392 rbenv exec gem install bundler --no-ri --no-rdoc +env RBENV_VERSION=system rbenv exec gem install bundler --no-ri --no-rdoc rbenv rehash apt-get -qy clean autoremove sv-enable postgresql sv-enable ssh sv-enable mysql sv-enable redis-server +sv-enable rsyslogd