aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 0f12c7016a55a30ea973cc2186c11c4b41a12781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# onap-python

This Dockerfile aims to generate a baseline image for ONAP [1] projects
based on SECCOM recommendations [2].

It includes:

- python 3.8.2
- pip3

Due to the ONBUILD directive, each project must provide a requirements.txt file
before building an image derived from this baseline image.
Without this requirements.txt file, the docker built will fail.
The pip install -r requirements.txt will be executed on the build of your image.

An example of Dockerfile consuming this base line image could be:

```
FROM nexus3.onap.org:10001/onap/integration-python
RUN echo "Add your specifc docker needs here."
```

[1]: http://wiki.onap.org

[2]: https://wiki.onap.org/display/DW/Database%2C+Java%2C+Python%2C+Docker%2C+Kubernetes%2C+and+Image+Versions