Mercurial > code > home > repos > homeauto
annotate service/collector/Dockerfile @ 1462:2b29f14eb6bd
try new graph+view widget
Ignore-this: d5f9c5dc52f04324368716ba2f604fdb
darcs-hash:44e85a5c075ef73c34a58deaa3a3c1e8390dae52
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 24 Nov 2019 00:01:00 -0800 |
parents | a2bc6602a0db |
children | fe9cfc088a49 |
rev | line source |
---|---|
1156
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
1 FROM bang6:5000/base_x86 |
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
2 |
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
3 WORKDIR /opt |
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
4 |
1449 | 5 RUN apt-get install -y vim net-tools iputils-ping |
1252
9cfa7f69e41f
collector partial py3+types update. WIP
drewp <drewp@bigasterisk.com>
parents:
1245
diff
changeset
|
6 |
1156
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
7 COPY requirements.txt ./ |
1398
53d7168bbe4c
standardize build. fix /state report
drewp <drewp@bigasterisk.com>
parents:
1254
diff
changeset
|
8 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -Ur requirements.txt |
1252
9cfa7f69e41f
collector partial py3+types update. WIP
drewp <drewp@bigasterisk.com>
parents:
1245
diff
changeset
|
9 # not sure why this doesn't work from inside requirements.txt |
1398
53d7168bbe4c
standardize build. fix /state report
drewp <drewp@bigasterisk.com>
parents:
1254
diff
changeset
|
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' |
1156
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
11 |
1252
9cfa7f69e41f
collector partial py3+types update. WIP
drewp <drewp@bigasterisk.com>
parents:
1245
diff
changeset
|
12 COPY stubs ./stubs |
1254
666f9a2198a7
add types to sse_collector.py. Surprisingly few bugs found.
drewp <drewp@bigasterisk.com>
parents:
1252
diff
changeset
|
13 COPY *.py req* *.ini ./ |
1449 | 14 COPY static ./static |
1156
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
15 |
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
16 EXPOSE 9072 |
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
17 |
1252
9cfa7f69e41f
collector partial py3+types update. WIP
drewp <drewp@bigasterisk.com>
parents:
1245
diff
changeset
|
18 CMD [ "python3", "./sse_collector.py" ] |