Add libc6 to Dockerfile in run stage

we found that in v5.21.0 there is missing `GLIBC_2.28` requirement and pod crashes. so we add `libc6` package which solves the issue.
This commit is contained in:
Ali Karami 2018-12-19 14:22:53 +03:30 committed by GitHub
parent 2c78d862a3
commit dad05c17ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ RUN NPROC=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1) && \
FROM debian:buster-slim as runstage
RUN mkdir -p /src && mkdir -p /opt
RUN apt-get update && \
apt-get install -y --no-install-recommends libboost-program-options1.67.0 libboost-regex1.67.0 \
apt-get install -y --no-install-recommends libc6 libboost-program-options1.67.0 libboost-regex1.67.0 \
libboost-date-time1.67.0 libboost-chrono1.67.0 libboost-filesystem1.67.0 \
libboost-iostreams1.67.0 libboost-thread1.67.0 expat liblua5.2-0 libtbb2 &&\
rm -rf /var/lib/apt/lists/*