-
Notifications
You must be signed in to change notification settings - Fork 26
/
Dockerfile
31 lines (27 loc) · 1.72 KB
/
Dockerfile
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
26
27
28
29
30
31
FROM quay.io/openshiftio/fabric8-analytics-stack-analysis-base:latest
LABEL maintainer="Avishkar Gupta <avgupta@redhat.com>"
# --------------------------------------------------------------------------------------------------
# install python packages
# --------------------------------------------------------------------------------------------------
COPY ./requirements.txt /
# To accomodate for any additional requirements that are not
# added to base for some reason, ex: local testing.
RUN pip install -r /requirements.txt && rm /requirements.txt
# --------------------------------------------------------------------------------------------------
# copy src code and scripts into root dir /
# the rest_api.py code assumes this dir structure
# --------------------------------------------------------------------------------------------------
COPY ./analytics_platform/kronos/deployment/rest_api.py /rest_api.py
COPY ./analytics_platform/kronos/scripts/bootstrap_action.sh /
COPY ./tagging_platform/helles/scripts/bootstrap_action.sh /helles_bootstrap_action.sh
COPY ./evaluation_platform/uranus/scripts/bootstrap_action.sh /uranus_bootstrap_action.sh
COPY ./analytics_platform /analytics_platform
COPY ./tagging_platform /tagging_platform
COPY ./evaluation_platform /evaluation_platform
COPY ./util /util
COPY ./analytics_platform/kronos/src/config.py.template /analytics_platform/kronos/src/config.py
# --------------------------------------------------------------------------------------------------
# add entrypoint scripts for the container
# --------------------------------------------------------------------------------------------------
ADD ./analytics_platform/kronos/scripts/entrypoint.sh /bin/entrypoint.sh
ENTRYPOINT ["/bin/entrypoint.sh"]