Hi, I implemented some northbound APIs in original APPC, passed Maven build. When I try to build docker image via Dockerfile, I noticed some 'COPY' is unclear.
COPY --chown=odl:odl opt /opt COPY --chown=odl:odl featureDir /opt/onap/appc/features COPY --chown=odl:odl repoDir /opt/opendaylight According to nexus3.onap.org:10001/onap/appc-image:1.6.3, I am *not sure about what is in opt folder*. And featureDir contains 'install-features.sh' for each feature, repoDir looks like an unzip OpenDaylight distribution. I consider feature install scripts and OpenDaylight distribution are steady. I might collect those manually and upload to Nexus, then execute below commands in Dockerfile: ' RUN wget -q http://[Nexus_IP]:8090/ [featureDir.zip ( http://[Nexus_IP]:8090/[featureDir.zip ) ] && \ unzip featureDir.zip && \ rm featureDir.zip && \ mv featureDir /opt/onap/appc/features RUN wget -q http://[Nexus_IP]:8090/ [repoDir.zip ( http://[nexus_ip]:8090/[featureDir.zip ) ] && \ unzip repoDir.zip && \ rm repoDir.zip && \ mv repoDir /opt/opendaylight ' Would it work? Or any better ideas would be greatly appreciate! Thanks, Zhuangyang -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19702): https://lists.onap.org/g/onap-discuss/message/19702 Mute This Topic: https://lists.onap.org/mt/69328243/21656 Mute #appc: https://lists.onap.org/mk?hashtag=appc&subid=2740164 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
