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:
parent
deb3dac6b1
commit
2701609004
2 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue