1
0
Fork 0
mirror of https://github.com/docker-library/ruby.git synced 2022-11-09 11:41:34 -05:00

Replace apt-get purge && apt-get autoremove with apt-get purge --auto-remove

This commit is contained in:
Tianon Gravi 2014-09-09 11:01:48 -06:00
parent deb3dac6b1
commit 2701609004
2 changed files with 2 additions and 4 deletions

View file

@ -15,8 +15,7 @@ RUN apt-get update \
&& autoconf \
&& ./configure --disable-install-doc \
&& make \
&& apt-get purge -y bison ruby procps \
&& apt-get autoremove -y \
&& apt-get purge -y --auto-remove bison ruby procps \
&& make install \
&& rm -r /usr/src/ruby

View file

@ -15,8 +15,7 @@ RUN apt-get update \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& apt-get purge -y bison ruby procps \
&& apt-get autoremove -y \
&& apt-get purge -y --auto-remove bison ruby procps \
&& make install \
&& rm -r /usr/src/ruby