crashsystems / gitlab-docker

Automated buld of GitLab with Docker.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ruby access denied

danielbush opened this issue · comments

curl ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz was giving me an access denied so the build failed.

Trying this:

diff --git a/Dockerfile b/Dockerfile
index f7736ca..c933028 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -22,8 +22,8 @@ RUN add-apt-repository -y ppa:git-core/ppa;\
 # Install Ruby
 RUN mkdir /tmp/ruby;\
   cd /tmp/ruby;\
-  curl ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz | tar xz;\
-  cd ruby-2.0.0-p247;\
+  curl http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p598.tar.gz | tar xz;\
+  cd ruby-2.0.0-p598;\
   chmod +x configure;\
   ./configure --disable-install-rdoc;\
   make;\

Wouldn't it be better to use rvm?