diff options
author | Parth Yadav <parth.yadav@ramanujan.du.ac.in> | 2020-08-07 18:16:54 +0530 |
---|---|---|
committer | Parth Yadav <parth.yadav@ramanujan.du.ac.in> | 2020-08-17 19:11:14 +0530 |
commit | 69f4c631e49c359338cff5c9f5b2c96c6fe6b280 (patch) | |
tree | d7fc7e207aca6ae5b9899d1f1eba27fe29c4c273 /sdv/docker/sdvstate/Dockerfile | |
parent | 42af6fa2ef682d28d12952831aa0c74fd647daad (diff) |
Init SDV-State
This patch adds post cloud-software deployment state validation
tool. Currently supports pod_health_check for Airship deployment.
Signed-off-by: Parth Yadav<parthyadav3105@gmail.com>
Change-Id: I28eeff520f7a00419620bf50cc38fd4793aa31b8
Diffstat (limited to 'sdv/docker/sdvstate/Dockerfile')
-rw-r--r-- | sdv/docker/sdvstate/Dockerfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sdv/docker/sdvstate/Dockerfile b/sdv/docker/sdvstate/Dockerfile new file mode 100644 index 0000000..7d18e7a --- /dev/null +++ b/sdv/docker/sdvstate/Dockerfile @@ -0,0 +1,25 @@ +FROM python:3.8-slim-buster + +MAINTAINER Parth Yadav <parthyadav3105@gmail.com> + +WORKDIR /state/ + +COPY requirements.txt /state/requirements.txt +RUN pip install -r requirements.txt +RUN rm requirements.txt + +COPY core/ /state/core/ +COPY settings/ /state/settings/ +COPY tools/ /state/tools/ +COPY validator/ /state/validator/ +COPY state /state/ +COPY server /state/ + +ENV RESULTS_PATH /tmp/ +ENV RESULTS_FILENAME results.json +ENV LOG_VERBOSITY info +ENV SAVE_RESULTS_LOCALLY True + +WORKDIR /data/ + +CMD [ "python", "/state/server" ] |