... | ... | @@ -62,3 +62,24 @@ Continuous deployment demo and workflow: |
|
|
|
|
|
## [Cern Software Lifecycle](https://indico.in2p3.fr/event/21698/contributions/84480/)
|
|
|
|
|
|
|
|
|
## Containerization
|
|
|
* Docker and Singularity
|
|
|
* Docker more like VM, Singularity more like environment
|
|
|
* Dockerhub like github for Docker images
|
|
|
|
|
|
|
|
|
## Software development at CASA (Common Astronomy Software Applications (Radioastronomy))
|
|
|
* User engagement:
|
|
|
![image](uploads/30681ef9fa1e83f01bbf17327e1ee1cb/image.png)
|
|
|
|
|
|
## Containerization Demo
|
|
|
* Dockerfile: Similar to makefile for docker images
|
|
|
* Can start with exisitng container e.g. Ubuntu 18.04 and then modify/add to the container
|
|
|
* `RUN`: execute shell command in container
|
|
|
* `COPY`: copy file to container
|
|
|
* `ENTRYPOINT`: Add entrypoint to the container, link executable if you do a docker run, the function from the entrypoint will be executed
|
|
|
* container can be tagged with a name and version number which can then be used to run the container
|
|
|
* Removing all entrypoints makes the container execute the given commands directly
|
|
|
* dockerhub: Stored different docker containers, tag containers with your account/containername Push these containers to dockerhub using: `docker push username/containername`, pushes not the base container but only the modifications
|
|
|
|