File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ ENV RUBY_VERSION 1.9.3-p547
7
7
# we purge this later to make sure our final image uses what we just built
8
8
RUN apt-get update \
9
9
&& apt-get install -y bison curl ruby procps \
10
+ && rm -rf /var/lib/apt/lists/* \
10
11
&& mkdir -p /usr/src/ruby \
11
12
&& curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
12
13
| tar -xjC /usr/src/ruby --strip-components=1 \
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ ENV RUBY_VERSION 2.1.2
7
7
# we purge this later to make sure our final image uses what we just built
8
8
RUN apt-get update \
9
9
&& apt-get install -y bison curl ruby procps \
10
+ && rm -rf /var/lib/apt/lists/* \
10
11
&& mkdir -p /usr/src/ruby \
11
12
&& curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
12
13
| tar -xjC /usr/src/ruby --strip-components=1 \
You can’t perform that action at this time.
0 commit comments