upgrade rubies, get ready for new image
authorSam <sam.saffron@gmail.com>
Tue, 22 Sep 2015 01:56:22 +0000 (11:56 +1000)
committerSam <sam.saffron@gmail.com>
Tue, 22 Sep 2015 01:56:22 +0000 (11:56 +1000)
cids/.gitkeep [deleted file]
image/base/Dockerfile
image/base_22/Dockerfile [deleted file]
image/build.rb
image/discourse/Dockerfile
image/discourse_fast_switch/Dockerfile

diff --git a/cids/.gitkeep b/cids/.gitkeep
deleted file mode 100644 (file)
index e69de29..0000000
index d820081ac785f04d9ff60066c894d63187124cc9..bca7399b2808d9c8ff2d128e4a4feb36a2a98c02 100644 (file)
@@ -2,7 +2,7 @@
 # When new LTS ships we can upgrade
 
 # NAME:     discourse_base
-# VERSION:  1.0.12
+# VERSION:  1.0.13
 
 FROM ubuntu:14.04
 
@@ -84,7 +84,7 @@ RUN add-apt-repository ppa:ubuntu-toolchain-r/test &&\
     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-p645 /usr/local &&\
+    cd / && rm -rf /src/ruby-build && ruby-build 2.0.0-p647 /usr/local &&\
     gem update --system &&\
     gem install bundler &&\
     rm -rf /usr/local/share/ri/2.0.0/system &&\
@@ -102,6 +102,3 @@ ADD boot /sbin/boot
 
 ADD cron /etc/service/cron/run
 ADD rsyslog /etc/service/rsyslog/run
-
-# this is temporary, remove in 2015
-RUN cp /sbin/boot /sbin/runit
diff --git a/image/base_22/Dockerfile b/image/base_22/Dockerfile
deleted file mode 100644 (file)
index 158b512..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-# Official repo only has a ppa for postgresql 9.3 at the moment (14/3/2014)
-# When new LTS ships we can upgrade
-
-# VERSION 1.0.12
-FROM samsaffron/discourse_base:1.0.12
-
-MAINTAINER Sam Saffron "https://twitter.com/samsaffron"
-
-RUN apt-get -y install ruby bison autoconf &&\
-    echo install_package "openssl-1.0.1l" "https://www.openssl.org/source/openssl-1.0.1l.tar.gz#b2cf4d48fe5d49f240c61c9e624193a6f232b5ed0baf010681e725963c40d1d4" mac_openssl --if has_broken_mac_openssl > /src/2.2.2-github &&\
-    echo install_package "ruby-2.2.2-github" "https://github.com/SamSaffron/ruby/archive/2.2.2-github.tar.gz#46aeee28ead1038cf615b17672ad6e54" autoconf ldflags_dirs standard verify_openssl >> /src/2.2.2-github &&\
-    ruby-build /src/2.2.2-github /usr/local &&\
-    apt-get -y remove ruby &&\
-    gem update --system &&\
-    gem install bundler &&\
-    rm -fr /src/ruby-build
index e7cf8ff152601ba064e1af16d748697eb76912a0..b1c5ffa511cf3c5ebb2cf0259bf0f04beee28d42 100644 (file)
@@ -2,7 +2,7 @@
 #
 require 'pty'
 
-$version = "1.0.12"
+$version = "1.0.13"
 
 $docker_squash = "https://github.com/jwilder/docker-squash/releases/download/v0.0.11/docker-squash-linux-amd64-v0.0.11.tar.gz"
 
index 90eee727f62f724cb4f1fe6d1cc4ffa0d594d2d4..727c7cd78d239b317884db001aaa08f90746d86e 100644 (file)
@@ -1,5 +1,5 @@
-# Current version 1.0.12
-FROM samsaffron/discourse_base:1.0.12
+# Current version 1.0.13
+FROM samsaffron/discourse_base:1.0.13
 
 MAINTAINER Sam Saffron "https://twitter.com/samsaffron"
 
index c1a82673d8415864e6d5165ac53a9ba72adba2ee..367f13e5b9ac48a8f98a3ff3b676706dab4a9238 100644 (file)
@@ -1,16 +1,16 @@
 # Allow to easily switch Ruby version in images that derive off this
 
-FROM samsaffron/discourse:1.0.12
+FROM samsaffron/discourse:1.0.13
 
 MAINTAINER Sam Saffron "https://twitter.com/samsaffron"
 
 RUN apt-get -y install ruby bison autoconf &&\
-    echo install_package "openssl-1.0.1l" "https://www.openssl.org/source/openssl-1.0.1l.tar.gz#b2cf4d48fe5d49f240c61c9e624193a6f232b5ed0baf010681e725963c40d1d4" mac_openssl --if has_broken_mac_openssl > /src/2.2.2-github &&\
-    echo install_package "ruby-2.2.2-github" "https://github.com/SamSaffron/ruby/archive/2.2.2-github.tar.gz#46aeee28ead1038cf615b17672ad6e54" autoconf ldflags_dirs standard verify_openssl >> /src/2.2.2-github &&\
-    ruby-build /src/2.2.2-github /usr/ruby_22 &&\
+    echo install_package "openssl-1.0.1l" "https://www.openssl.org/source/openssl-1.0.1l.tar.gz#b2cf4d48fe5d49f240c61c9e624193a6f232b5ed0baf010681e725963c40d1d4" mac_openssl --if has_broken_mac_openssl > /src/2.2.3-github &&\
+    echo install_package "ruby-2.2.3-github" "https://github.com/SamSaffron/ruby/archive/2.2.3-github.tar.gz#46aeee28ead1038cf615b17672ad6e54" autoconf ldflags_dirs standard verify_openssl >> /src/2.2.3-github &&\
+    ruby-build /src/2.2.3-github /usr/ruby_22 &&\
     apt-get -y remove ruby
 
-RUN cd / && rm -rf /src/ruby-build && ruby-build 2.0.0-p643 /usr/ruby_20
+RUN cd / && rm -rf /src/ruby-build && ruby-build 2.0.0-p647 /usr/ruby_20
 
 ADD create_switch.rb /src/create_switch.rb
 RUN ruby /src/create_switch.rb