diff --git a/Dockerfile b/Dockerfile index ab7f09e25..bb55447cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1 +1 @@ -FROM zzak/ruby-openssl-docker:2.0 +FROM junaruga/ruby-openssl-docker:2.1 diff --git a/tool/ruby-openssl-docker/init.sh b/tool/ruby-openssl-docker/init.sh index 4d97e28c7..27e25bbd8 100755 --- a/tool/ruby-openssl-docker/init.sh +++ b/tool/ruby-openssl-docker/init.sh @@ -15,6 +15,8 @@ export PATH="/opt/ruby/${RUBY_VERSION}/bin:$PATH" export LD_LIBRARY_PATH="/opt/openssl/${OPENSSL_VERSION}/lib" export PKG_CONFIG_PATH="/opt/openssl/${OPENSSL_VERSION}/lib/pkgconfig" +which rake || gem instal rake + rake install_dependencies USE_HTTP_RUBYGEMS_ORG=1 exec $*