removed libresolv, added libnsl, removed duplicate files caused by following symlinks during the build process
This commit is contained in:
parent
c0fa623349
commit
f231951e11
1 changed files with 4 additions and 4 deletions
|
@ -63,10 +63,10 @@ FROM scratch
|
|||
|
||||
COPY rootfs /
|
||||
|
||||
COPY --from=build /lib/x86_64-linux-gnu/ld-2.24.so /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 \
|
||||
/lib/x86_64-linux-gnu/libc-2.24.so /lib/x86_64-linux-gnu/libc.so.6 \
|
||||
/lib/x86_64-linux-gnu/libnss_files-2.24.so /lib/x86_64-linux-gnu/libnss_files.so.2 \
|
||||
/lib/x86_64-linux-gnu/libresolv-2.24.so /lib/x86_64-linux-gnu/libresolv.so.2 \
|
||||
COPY --from=build /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 \
|
||||
/lib/x86_64-linux-gnu/libc.so.6 \
|
||||
/lib/x86_64-linux-gnu/libnss_files.so.2 \
|
||||
/lib/x86_64-linux-gnu/libnsl.so.1 \
|
||||
/lib/x86_64-linux-gnu/
|
||||
COPY --from=build /tmp/nginx/objs/nginx /nginx
|
||||
COPY --from=build /tmp/nginx/html /etc/nginx/html
|
||||
|
|
Loading…
Add table
Reference in a new issue