annotate service/wifi/Dockerfile @ 423:e0703c7824e9

very big rewrite. py3; orbi-only for now; n3 config file; delete or move out dead code Ignore-this: bfecea6f4990d34b36cc6d97cc6c6fa2
author drewp@bigasterisk.com
date Sat, 30 Mar 2019 23:38:47 -0700
parents 47d7dd31bb2c
children d0830394bf7b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
383
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
1 FROM bang6:5000/base_x86
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
2
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
3 WORKDIR /opt
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
4
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
5 RUN apt-get install -y libxml2-dev libxslt1-dev
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
6
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
7 COPY requirements.txt ./
421
47d7dd31bb2c port to py3
drewp@bigasterisk.com
parents: 420
diff changeset
8 RUN pip3 install -r requirements.txt
47d7dd31bb2c port to py3
drewp@bigasterisk.com
parents: 420
diff changeset
9 # not sure why this doesn't work from inside requirements.txt
47d7dd31bb2c port to py3
drewp@bigasterisk.com
parents: 420
diff changeset
10 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v2'
383
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
11
423
e0703c7824e9 very big rewrite. py3; orbi-only for now; n3 config file; delete or move out dead code
drewp@bigasterisk.com
parents: 421
diff changeset
12 COPY *.py *.n3 *.html ./
383
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
13
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
14 EXPOSE 9070
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
15
421
47d7dd31bb2c port to py3
drewp@bigasterisk.com
parents: 420
diff changeset
16 CMD [ "python3", "wifi.py" ]