Skip to content

Update Ruby versions and fix installation issues with trying to remove procps and thus init #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 22, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions 1.9/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
FROM buildpack-deps:wheezy

RUN apt-get update && apt-get install -y curl procps && rm -rf /var/lib/apt/lists/*

ENV RUBY_MAJOR 1.9
ENV RUBY_VERSION 1.9.3-p547

# 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 curl ruby procps \
&& apt-get install -y bison ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
Expand All @@ -15,7 +17,7 @@ RUN apt-get update \
&& autoconf \
&& ./configure --disable-install-doc \
&& make \
&& apt-get purge -y --auto-remove bison ruby procps \
&& apt-get purge -y --auto-remove bison ruby \
&& make install \
&& rm -r /usr/src/ruby

Expand Down
8 changes: 5 additions & 3 deletions 2.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
FROM buildpack-deps:jessie

RUN apt-get update && apt-get install -y curl procps && rm -rf /var/lib/apt/lists/*

ENV RUBY_MAJOR 2.0
ENV RUBY_VERSION 2.0.0-p481
ENV RUBY_VERSION 2.0.0-p576

# 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 curl ruby procps \
&& apt-get install -y bison ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
Expand All @@ -15,7 +17,7 @@ RUN apt-get update \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& apt-get purge -y --auto-remove bison ruby procps \
&& apt-get purge -y --auto-remove bison ruby \
&& make install \
&& rm -r /usr/src/ruby

Expand Down
2 changes: 1 addition & 1 deletion 2.0/onbuild/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.0.0-p481
FROM ruby:2.0.0-p576

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
Expand Down
8 changes: 5 additions & 3 deletions 2.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
FROM buildpack-deps:jessie

RUN apt-get update && apt-get install -y curl procps && rm -rf /var/lib/apt/lists/*

ENV RUBY_MAJOR 2.1
ENV RUBY_VERSION 2.1.2
ENV RUBY_VERSION 2.1.3

# 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 curl ruby procps \
&& apt-get install -y bison ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
Expand All @@ -15,7 +17,7 @@ RUN apt-get update \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& apt-get purge -y --auto-remove bison ruby procps \
&& apt-get purge -y --auto-remove bison ruby \
&& make install \
&& rm -r /usr/src/ruby

Expand Down
2 changes: 1 addition & 1 deletion 2.1/onbuild/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.1.2
FROM ruby:2.1.3

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
Expand Down