summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-04-28 21:38:05 +0200
committerGitHub <noreply@github.com>2019-04-28 21:38:05 +0200
commitf9a3754b0d5ae41dade03f61532c1ceedf44cd69 (patch)
tree8cc619ff8d9e342be5b14750d3e16d1e479a3fe0 /docker/Dockerfile
parentfebde3b40d3a68de63ee458b6fdafa75011a6f64 (diff)
parent46ea8e770b23d9aac83fc21a7656355045cc0630 (diff)
downloadvyos-documentation-f9a3754b0d5ae41dade03f61532c1ceedf44cd69.tar.gz
vyos-documentation-f9a3754b0d5ae41dade03f61532c1ceedf44cd69.zip
Merge pull request #41 from kmpm/features/autobuild
Add sphinx-autobuild to docker
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 06302f2b..7cd7c2e9 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -16,6 +16,7 @@ RUN apt-get update && apt-get install -y \
mc \
make \
python3-sphinx \
+ python3-pip \
python-sphinx-rtd-theme \
latexmk \
texlive-latex-recommended \
@@ -24,9 +25,13 @@ RUN apt-get update && apt-get install -y \
sudo \
gosu
+RUN pip3 install sphinx-autobuild
+
# Cleanup
RUN rm -rf /var/lib/apt/lists/*
+EXPOSE 8000
+
# Allow password-less 'sudo' for all users in group 'sudo'
RUN sed "s/^%sudo.*/%sudo\tALL=(ALL) NOPASSWD:ALL/g" -i /etc/sudoers && \
chmod a+s /usr/sbin/useradd /usr/sbin/groupadd /usr/sbin/gosu /usr/sbin/usermod