The following project contains the list of official DSP labs.
The main contribution to this project should be given to the students of the Network Security course of the Professor Simon Pietro Romano in the University of Naples Federico II.
Take a look to the developed lab and check if you already have a similar project. You can use DSP to make a copy of a lab.
All the Docker images that you develop during your development should be shared with us. You can also upload them in DockerHub, but before accepting the Pull Request we need to analyze them in order to understand if those satisfy Quality Criteria
The workflow that you should use when developing the image is the following:
- Check if there a Docker image in the
.docker-images/basefolder that satisfies your needs. - If not, create a new folder in the
.docker-imageswith the name of your lab. For example, if you are creating a lab calledNS_Escalation, you need to create a new falder named.docker-images/NS_Escalation - For each new Docker image, create a subfolder in the create folder with the name of the image.
DSP images should be optimized. Our main criteria is basically to minimize the Docker image by using the best practices provided by the Docker team.
Here some hints:
- Dockerfile builds should be performed by using the
multi-stage buildoption. - You should not install binaries that are not used into the lab.
Some DSP-added criteria:
- All the images that you develop should start from a DSP image. Check at the list in the
basefolder.
The Docker image should contain a version.
Each folder that contains the Dockerfile will contain a VERSION file that is used to build the images.
Default: v1.0
You can use the create_new_image.sh script to create a new image that will create the base folder structure for a new image.
In order to contribute to the labs realization:
- Fork the repository
- Sycnrhonize your personal repo inside the DSP application
- Perform changes
- Send a PR
Distributed under the GPLv3 License. See LICENSE.md for more information.