Answering my own – also after a discussion with James.
Also after a quick talk on the PTL meet today with Brian and Gary
https://wiki.onap.org/display/DW/PTL+2018-11-19+Meeting+Agenda

apt commands to install things like curl into a base image is OK – as the 
provider will supply a nexus proxy – allowing for offline installs as well.

Discussion here is focused only on the entrypoint sh scripts and git pulls.

Thank you
/michael
From: [email protected] <[email protected]> On Behalf Of 
Michael O'Brien
Sent: Saturday, November 17, 2018 10:00 AM
To: [email protected]; [email protected]; 
[email protected]
Subject: Re: [onap-discuss] ONAP deployment - are apt-get install commands OK 
in the dockerFile (now non-stateless, see offline-installer) #cia #deployment

Gildas,
   I have a general question on dockerFile stateless requirements.
   Are we ok on modifying the docker image during a deployment – I would think 
not but from a pass through the code there are several components that enhance 
the basic image to install for example curl.  Now for some images not based 
directly on a clean ubuntu image we get these tools as part of the image – in 
other cases we customize the docker image at runtime (essentially making it 
stateful – as in if the curl fails then the container will be non-functional).  
 Or in the case of the upcoming offline-installer project – internet access 
would be required just like the “git clone”.  I recommend we discuss this at 
the next PTL meet.
    I ask this also to the CIA and Offline-installer projects as a general 
guidance on enhancing base images.
    Thank you
    /michael

From: Michael O'Brien
Sent: Thursday, November 15, 2018 6:42 PM
To: [email protected]<mailto:[email protected]>; Michael 
O'Brien <[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Subject: RE: [onap-discuss] ONAP deployment

Gildas,
   NO.

  (git clone, wget, chef that I can see from an additional source search in 
intelliJ)

   Logging demo docker
https://git.onap.org/logging-analytics/tree/reference/logging-docker-root/logging-docker-demo/DockerFile
https://git.onap.org/logging-analytics/tree/reference/logging-docker-root/logging-docker-demo/build.sh

   Evidence (all 5 dockers are the same)
https://git.onap.org/logging-analytics/pomba/pomba-aai-context-builder/tree/src/main/docker/Dockerfile
https://git.onap.org/logging-analytics/pomba/pomba-aai-context-builder/tree/src/main/docker/startService.sh

https://git.onap.org/logging-analytics/pomba/pomba-context-aggregator/tree/src/main/docker/Dockerfile
https://git.onap.org/logging-analytics/pomba/pomba-context-aggregator/tree/src/main/docker/startService.sh
except pre_start.sh called from startService.sh needs to be verified in 
https://git.onap.org/logging-analytics/pomba/pomba-context-aggregator/tree/src/main/docker/startService.sh#n5

https://git.onap.org/logging-analytics/pomba/pomba-network-discovery-context-builder/tree/src/main/docker/Dockerfile
https://git.onap.org/logging-analytics/pomba/pomba-network-discovery-context-builder/tree/src/main/docker/startService.sh

https://git.onap.org/logging-analytics/pomba/pomba-sdc-context-builder/tree/src/main/docker/Dockerfile
https://git.onap.org/logging-analytics/pomba/pomba-sdc-context-builder/tree/src/main/docker/startService.sh

https://git.onap.org/logging-analytics/pomba/pomba-sdnc-context-builder/tree/src/main/docker/Dockerfile
https://git.onap.org/logging-analytics/pomba/pomba-sdnc-context-builder/tree/src/main/docker/startService.sh


From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
Michael O'Brien
Sent: Thursday, November 15, 2018 6:24 PM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Subject: Re: [onap-discuss] ONAP deployment

Gildas, for logging-analytics no
For logging-analytics-pomba* (6 repos) – going through the code now for later 
today.

Also we may want to expand the list to more than git clone – if your goal is 
offline onap install integrity.

apt-get install
wget
git clone
chef operations
….

/michael

From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
[email protected]<mailto:[email protected]>
Sent: Thursday, November 15, 2018 2:25 PM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Subject: [Onap-release] ONAP deployment

Hi PTLs,

This is in preparation for Releasing all the ONAP artifacts so we can guarantee 
ONAP is using the same binary and code over and over again.

Question: While doing the deployment of your Docker image, do you have to run  
a “git clone” cmd or in other word is there “git clone” call in the Dockerfile?
Please answer Yes/NO.



Thanks,
Gildas

[HuaweiLogowithName]
Gildas Lanilis
ONAP Release Manager
Santa Clara CA, USA
[email protected]<mailto:[email protected]>
Mobile: 1 415 238 6287


“Amdocs’ email platform is based on a third-party, worldwide, cloud-based 
system. Any emails sent to Amdocs will be processed and stored using such 
system and are accessible by third party providers of such system on a limited 
basis. Your sending of emails to Amdocs evidences your consent to the use of 
such system and such processing, storing and access”.

“Amdocs’ email platform is based on a third-party, worldwide, cloud-based 
system. Any emails sent to Amdocs will be processed and stored using such 
system and are accessible by third party providers of such system on a limited 
basis. Your sending of emails to Amdocs evidences your consent to the use of 
such system and such processing, storing and access”.

“Amdocs’ email platform is based on a third-party, worldwide, cloud-based 
system. Any emails sent to Amdocs will be processed and stored using such 
system and are accessible by third party providers of such system on a limited 
basis. Your sending of emails to Amdocs evidences your consent to the use of 
such system and such processing, storing and access”.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13858): https://lists.onap.org/g/onap-discuss/message/13858
Mute This Topic: https://lists.onap.org/mt/28193988/21656
Mute #cia: https://lists.onap.org/mk?hashtag=cia&subid=2740164
Mute #deployment: https://lists.onap.org/mk?hashtag=deployment&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to