diff options
author | Mike Crute <mike@crute.us> | 2020-02-13 23:15:19 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2020-02-13 23:15:19 +0000 |
commit | 05658779180eeb774d68607f388fa8ea88a7835a (patch) | |
tree | f0e6f4b3d62b2346d14b849dc66aca0ade7ebdb7 /code-host | |
parent | c622465bc3b22db2fa3a75134909fd178894ef39 (diff) | |
download | dockerfiles-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/Dockerfile | 4 | ||||
-rw-r--r-- | code-host/Makefile | 1 |
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 @@ | |||
1 | IMAGE=docker.crute.me/code-host:latest | 1 | IMAGE=docker.crute.me/code-host:latest |
2 | 2 | ||
3 | all: | 3 | all: |
4 | docker pull alpine:edge | ||
4 | docker build -t $(IMAGE) . | 5 | docker build -t $(IMAGE) . |
5 | 6 | ||
6 | all-no-cache: | 7 | all-no-cache: |