diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2024-03-26 11:49:07 +0100 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2024-03-26 12:15:12 +0100 |
commit | 51d511b7df997b397c5e208f7bc2efe91b82d85a (patch) | |
tree | e32b845742f672b819190dd7e292a5f614223f0c | |
parent | f89b63168f143136d6a6b9a9a7c73ece4100814d (diff) |
[READINESS] Add missing python modules to docker image
With the new base image the requirements.txt is not loaded,
therefor it has to be added into the dockerfile
Issue-ID: OOM-3280
Change-Id: I00cdf1f60ae2e07d6b0fc7246798f2d241d17471
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | requirements.txt | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,8 @@ FROM nexus3.onap.org:10001/onap/integration-python:12.0.0 ENV CERT="/var/run/secrets/kubernetes.io/serviceaccount/ca.crt" ENV TOKEN="/var/run/secrets/kubernetes.io/serviceaccount/token" +COPY requirements.txt . +RUN pip install -r requirements.txt COPY ready.py . ENTRYPOINT ["/app/ready.py"] diff --git a/requirements.txt b/requirements.txt index eca5e2e..ca17c50 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ +requests==2.31.0 kubernetes==29.0.0 |