comparison service/collector/Dockerfile @ 1449:a2bc6602a0db

dockerfile deps Ignore-this: b12d406bc1fee7c07092d273904b8b3d darcs-hash:8b40b2634a6df26e0de4f6ef31c6ef2aabf14c31
author drewp <drewp@bigasterisk.com>
date Wed, 25 Sep 2019 17:25:19 -0700
parents 53d7168bbe4c
children fe9cfc088a49
comparison
equal deleted inserted replaced
1448:420effc5e138 1449:a2bc6602a0db
1 FROM bang6:5000/base_x86 1 FROM bang6:5000/base_x86
2 2
3 WORKDIR /opt 3 WORKDIR /opt
4 4
5 RUN apt-get install -y vim 5 RUN apt-get install -y vim net-tools iputils-ping
6 6
7 COPY requirements.txt ./ 7 COPY requirements.txt ./
8 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -Ur requirements.txt 8 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -Ur requirements.txt
9 # not sure why this doesn't work from inside requirements.txt 9 # not sure why this doesn't work from inside requirements.txt
10 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -U 'https://github.com/drewp/cyclone/archive/python3.zip' 10 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -U 'https://github.com/drewp/cyclone/archive/python3.zip'
11 11
12 COPY stubs ./stubs 12 COPY stubs ./stubs
13 COPY *.py req* *.ini ./ 13 COPY *.py req* *.ini ./
14 COPY static ./static
14 15
15 EXPOSE 9072 16 EXPOSE 9072
16 17
17 CMD [ "python3", "./sse_collector.py" ] 18 CMD [ "python3", "./sse_collector.py" ]