mirror of
https://github.com/docker-library/ruby.git
synced 2022-11-09 11:41:34 -05:00
Make sure "libreadlineX" stays installed
This commit is contained in:
parent
98d971fb71
commit
445b7e4b78
5 changed files with 15 additions and 0 deletions
|
@ -76,6 +76,9 @@ RUN set -ex \
|
|||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& dpkg-query --show --showformat '${package}\n' \
|
||||
| grep -P '^libreadline\d+$' \
|
||||
| xargs apt-mark manual \
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
&& cd / \
|
||||
&& rm -r /usr/src/ruby \
|
||||
|
|
|
@ -76,6 +76,9 @@ RUN set -ex \
|
|||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& dpkg-query --show --showformat '${package}\n' \
|
||||
| grep -P '^libreadline\d+$' \
|
||||
| xargs apt-mark manual \
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
&& cd / \
|
||||
&& rm -r /usr/src/ruby \
|
||||
|
|
|
@ -76,6 +76,9 @@ RUN set -ex \
|
|||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& dpkg-query --show --showformat '${package}\n' \
|
||||
| grep -P '^libreadline\d+$' \
|
||||
| xargs apt-mark manual \
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
&& cd / \
|
||||
&& rm -r /usr/src/ruby \
|
||||
|
|
|
@ -76,6 +76,9 @@ RUN set -ex \
|
|||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& dpkg-query --show --showformat '${package}\n' \
|
||||
| grep -P '^libreadline\d+$' \
|
||||
| xargs apt-mark manual \
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
&& cd / \
|
||||
&& rm -r /usr/src/ruby \
|
||||
|
|
|
@ -76,6 +76,9 @@ RUN set -ex \
|
|||
&& make -j "$(nproc)" \
|
||||
&& make install \
|
||||
\
|
||||
&& dpkg-query --show --showformat '${package}\n' \
|
||||
| grep -P '^libreadline\d+$' \
|
||||
| xargs apt-mark manual \
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
&& cd / \
|
||||
&& rm -r /usr/src/ruby \
|
||||
|
|
Loading…
Reference in a new issue