annotate service/xidle/Dockerfile.pi @ 1688:5871ef3a380e

cnof checkpoint
author drewp@bigasterisk.com
date Mon, 27 Sep 2021 23:18:49 -0700
parents 3df357924f1d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
362
cd95bd418d78 xidle to docker
drewp@bigasterisk.com
parents:
diff changeset
1 FROM bang6:5000/base_pi
cd95bd418d78 xidle to docker
drewp@bigasterisk.com
parents:
diff changeset
2
cd95bd418d78 xidle to docker
drewp@bigasterisk.com
parents:
diff changeset
3 RUN apt-get install --yes libxss-dev
cd95bd418d78 xidle to docker
drewp@bigasterisk.com
parents:
diff changeset
4
cd95bd418d78 xidle to docker
drewp@bigasterisk.com
parents:
diff changeset
5 COPY requirements.txt ./
690
3df357924f1d xidle rewrite for docker, py3
drewp@bigasterisk.com
parents: 362
diff changeset
6 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
3df357924f1d xidle rewrite for docker, py3
drewp@bigasterisk.com
parents: 362
diff changeset
7 # not sure why this doesn't work from inside requirements.txt
3df357924f1d xidle rewrite for docker, py3
drewp@bigasterisk.com
parents: 362
diff changeset
8 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'
362
cd95bd418d78 xidle to docker
drewp@bigasterisk.com
parents:
diff changeset
9
cd95bd418d78 xidle to docker
drewp@bigasterisk.com
parents:
diff changeset
10 COPY *.py ./
cd95bd418d78 xidle to docker
drewp@bigasterisk.com
parents:
diff changeset
11
cd95bd418d78 xidle to docker
drewp@bigasterisk.com
parents:
diff changeset
12 EXPOSE 9107
cd95bd418d78 xidle to docker
drewp@bigasterisk.com
parents:
diff changeset
13
690
3df357924f1d xidle rewrite for docker, py3
drewp@bigasterisk.com
parents: 362
diff changeset
14 CMD [ "python3", "./xidle.py" ]