This Upgrades GetOnTracks to version 2.2.3 as described in https://github.com/TracksApp/tracks/blob/v2.2.3/doc/upgrading.textile
This is based on staannoe/getontracks:v2.2.2 I did all the modification in a bash then I did a docker commit.
But basically the steps were:
cd /var/tracks wget https://github.com/TracksApp/tracks/archive/v2.2.3.zip unzip v2.2.3.zip -d /tmp -x tracks-2.2.3/config/environments/production.rb cp -a /tmp/tracks-2.2.3/* . rm v2.2.3.zip rm -rf /tmp/tracks-2.2.3/ bundle install --without development test /usr/bin/ruby1.9.1 /usr/local/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets --trace
and the last command to run:
/usr/bin/ruby1.9.1 script/rails server -e production
yeah yeah I know, I'll make a Dockerfile next time, but hey, I got my thing done. (The database will be as a volume among all other goodies when I do it)