From: wahidw Date: Tue, 22 Jun 2021 04:57:26 +0000 (+0000) Subject: Copying only the needed libraries to final image X-Git-Tag: 0.8.0~21 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=5d9b232c7d3d6aea8686ea598d5b09ef82ecd6f0;p=ric-plt%2Fsubmgr.git Copying only the needed libraries to final image Signed-off-by: wahidw Change-Id: Id5fc0c7da6e6388994841b968cd0b09113744a26 --- diff --git a/Dockerfile b/Dockerfile index ed2e751..d298761 100644 --- a/Dockerfile +++ b/Dockerfile @@ -201,8 +201,9 @@ RUN apt update && apt install -y iputils-ping net-tools curl tcpdump COPY --from=submgrbuild /manifests /manifests COPY --from=submgrbuild /opt/bin/submgr / -COPY --from=submgrbuild /usr/local/include /usr/local/include -COPY --from=submgrbuild /usr/local/lib /usr/local/lib +COPY --from=submgrbuild /usr/local/include/rmr /usr/local/include/ +COPY --from=submgrbuild /usr/local/lib/librmr* /usr/local/lib/ +COPY --from=submgrbuild /usr/local/lib/libe2ap* /usr/local/lib/ RUN ldconfig COPY run_submgr.sh /