aboutsummaryrefslogtreecommitdiff
path: root/code-host
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2020-02-13 23:15:19 +0000
committerMike Crute <mike@crute.us>2020-02-13 23:15:19 +0000
commit05658779180eeb774d68607f388fa8ea88a7835a (patch)
treef0e6f4b3d62b2346d14b849dc66aca0ade7ebdb7 /code-host
parentc622465bc3b22db2fa3a75134909fd178894ef39 (diff)
downloaddockerfiles-05658779180eeb774d68607f388fa8ea88a7835a.tar.bz2
dockerfiles-05658779180eeb774d68607f388fa8ea88a7835a.tar.xz
dockerfiles-05658779180eeb774d68607f388fa8ea88a7835a.zip
code-host: update to py3 and link rst2html
Diffstat (limited to 'code-host')
-rw-r--r--code-host/Dockerfile4
-rw-r--r--code-host/Makefile1
2 files changed, 4 insertions, 1 deletions
diff --git a/code-host/Dockerfile b/code-host/Dockerfile
index 646c7f6..4de5043 100644
--- a/code-host/Dockerfile
+++ b/code-host/Dockerfile
@@ -11,12 +11,14 @@ RUN \
11 gitolite \ 11 gitolite \
12 openssh \ 12 openssh \
13 perl-json \ 13 perl-json \
14 py-pygments \ 14 py3-pygments \
15 py3-docutils \
15 runit \ 16 runit \
16 su-exec \ 17 su-exec \
17 uwsgi \ 18 uwsgi \
18 uwsgi-cgi \ 19 uwsgi-cgi \
19 uwsgi-router_static \ 20 uwsgi-router_static \
21 && ln -s /usr/bin/rst2html /usr/bin/rst2html.py \
20 && addgroup -g 1005 -S code \ 22 && addgroup -g 1005 -S code \
21 && adduser -u 1005 -s /bin/sh -S -h /srv/code -H -D -G code code 23 && adduser -u 1005 -s /bin/sh -S -h /srv/code -H -D -G code code
22 24
diff --git a/code-host/Makefile b/code-host/Makefile
index 43a832c..6badfbc 100644
--- a/code-host/Makefile
+++ b/code-host/Makefile
@@ -1,6 +1,7 @@
1IMAGE=docker.crute.me/code-host:latest 1IMAGE=docker.crute.me/code-host:latest
2 2
3all: 3all:
4 docker pull alpine:edge
4 docker build -t $(IMAGE) . 5 docker build -t $(IMAGE) .
5 6
6all-no-cache: 7all-no-cache: