Mercurial > code > home > repos > reposync
comparison Dockerfile @ 4:f714a6a7842c
start new web view for hgand github syncing
author | drewp@bigasterisk.com |
---|---|
date | Fri, 24 Jul 2020 14:42:08 -0700 |
parents | |
children | db4037285592 |
comparison
equal
deleted
inserted
replaced
3:4077903a9520 | 4:f714a6a7842c |
---|---|
1 FROM bang5:5000/base_x86 | |
2 | |
3 WORKDIR /opt | |
4 | |
5 RUN apt-get install -y python3.8 libpython3.8-dev python3-openssl python3-cffi-backend | |
6 RUN python3.8 -m pip install mercurial | |
7 | |
8 RUN python3.8 -m pip install -U pip | |
9 COPY requirements.txt ./ | |
10 RUN python3.8 -m pip install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt | |
11 RUN python3.8 -m pip install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3' | |
12 RUN python3.8 -m pip install -U cffi | |
13 RUN python3.8 -m pip install 'https://foss.heptapod.net/mercurial/hg-git/-/archive/branch/default/hg-git-branch-default.zip' | |
14 RUN groupadd --gid 1000 drewp && useradd --uid 501 --gid 1000 drewp | |
15 | |
16 COPY root-hgrc /root/.hgrc | |
17 COPY entrypoint.sh config.yaml hg_status.py index.html ./ | |
18 COPY dot-ssh/* /root/.ssh/ | |
19 #USER drewp | |
20 | |
21 ENV TZ=America/Los_Angeles | |
22 ENV LANG=en_US.UTF-8 | |
23 | |
24 RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
25 | |
26 | |
27 CMD ["/bin/sh", "entrypoint.sh"] |