Skip to content

Commit

Permalink
Merge pull request #7662 from coutinhop/pedro-add-libs-cni-plugin
Browse files Browse the repository at this point in the history
Add FIPS required libraries to cni-plugin image
  • Loading branch information
mgleung authored May 16, 2023
2 parents d577809 + 9f5c07e commit 922f606
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cni-plugin/Dockerfile.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ COPY --from=ubi /lib64/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2
COPY --from=ubi /lib64/libpthread.so.0 /lib64/libpthread.so.0
COPY --from=ubi /lib64/libc.so.6 /lib64/libc.so.6

# The following dependencies do not show up when performing ldd on the binary, but are still necessary.
COPY --from=ubi /lib64/libnss_dns.so.2 /lib64/libnss_dns.so.2
COPY --from=ubi /lib64/libnss_files.so.2 /lib64/libnss_files.so.2
COPY --from=ubi /lib64/libresolv.so.2 /lib64/libresolv.so.2

# Copy hostname configuration files from UBI so glibc hostname lookups work.
COPY --from=ubi /etc/host.conf /etc/host.conf
COPY --from=ubi /etc/nsswitch.conf /etc/nsswitch.conf
Expand Down

0 comments on commit 922f606

Please sign in to comment.