forked from fabric8-analytics/f8a-server-backbone
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.rhel
More file actions
31 lines (22 loc) · 1.13 KB
/
Dockerfile.rhel
File metadata and controls
31 lines (22 loc) · 1.13 KB
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
# base image source https://github.com/rhdt/EL-Dockerfiles/blob/master/base/python3/Dockerfile
FROM quay.io/openshiftio/rhel-base-python3:latest
ENV F8A_WORKER_VERSION=fefc764 \
F8A_UTIL_VERSION=098d3d6
LABEL name="f8analytics backbone services" \
description="Stack aggregation and recommendation service." \
git-sha="46e443d" \
email-ids="yzainee@redhat.com,deepshar@redhat.com" \
git-url="https://github.com/fabric8-analytics/f8a-server-backbone" \
git-path="/" \
target-file="Dockerfile" \
app-license="GPL-3.0"
COPY ./requirements.txt /
RUN pip3 install --upgrade pip
RUN pip3 install -r requirements.txt && rm requirements.txt
COPY ./src /src
RUN pip3 install git+https://github.com/fabric8-analytics/fabric8-analytics-worker.git@${F8A_WORKER_VERSION}
RUN pip3 install git+https://github.com/fabric8-analytics/fabric8-analytics-utils.git@${F8A_UTIL_VERSION}
RUN pip3 install git+https://git@github.com/fabric8-analytics/fabric8-analytics-version-comparator.git#egg=f8a_version_comparator
ADD scripts/entrypoint.sh /bin/entrypoint.sh
RUN chmod 777 /bin/entrypoint.sh
ENTRYPOINT ["/bin/entrypoint.sh"]