refactor(docker): get file name with ls and grep

!184
This commit is contained in:
2024-01-15 01:37:13 +09:30
parent e4feaaa69d
commit b037996a4d

View File

@ -36,10 +36,10 @@ RUN apt update \
&& cd /tmp \
&& apt-get download \
libc-bin \
&& dpkg --extract ./libc-bin_*.deb /tmp/deb \
&& dpkg --extract $(ls | grep libc-bin_ | grep -a '.deb') /tmp/deb \
&& cp /tmp/deb/sbin/ldconfig /sbin/ \
&& rm -Rf /tmp/deb \
&& rm libc-bin_*.deb \
&& rm $(ls | grep libc-bin_ | grep -a '.deb') \
&& apt-get install --reinstall \
libc-bin \
# EoF fixing dpkg ldconfig not found error