From 71d7feac57305967cc81525126e5713f0a0caec9 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 8 Nov 2015 17:47:59 +0100 Subject: [PATCH] ruby works now --- .dockerignore | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.dockerignore b/.dockerignore index fac5ce7..7476aa0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,2 @@ .git -*.md +*.md \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index c55f33d..53147d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,7 @@ RUN echo 'install: --no-document\nupdate: --no-document' >> "$HOME/.gemrc" # some of ruby's build scripts are written in ruby # we purge this later to make sure our final image uses what we just built RUN apt-get update \ - && apt-get install -y bison libgdbm-dev ruby autoconf \ + && apt-get install -y bison libgdbm-dev ruby autoconf zlib1g-dev libssl-dev \ && rm -rf /var/lib/apt/lists/* \ && mkdir -p /usr/src/ruby \ && curl -fSL -o ruby.tar.gz "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.gz" \ @@ -48,7 +48,7 @@ RUN apt-get update \ && ./configure --disable-install-doc \ && make -j"$(nproc)" \ && make install \ - && apt-get purge -y --auto-remove bison libgdbm-dev ruby \ + && apt-get purge -y --auto-remove bison libgdbm-dev ruby autoconf zlib1g-dev libssl-dev \ && gem update --system $RUBYGEMS_VERSION \ && rm -r /usr/src/ruby