summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-10-16 15:33:01 +0200
committerGitHub <noreply@github.com>2019-10-16 15:33:01 +0200
commit9982023728283b6212bf8820f8634a10c1764317 (patch)
tree50213104350fdd50b78c8c3e4c03019c8bc9c266 /docker/Dockerfile
parentd5400cd2822539c2e0a1416fa728b942a3cb1b9f (diff)
parentd59ccf6c896c7ae5a5604bc66d79357584745f79 (diff)
downloadvyos-documentation-9982023728283b6212bf8820f8634a10c1764317.tar.gz
vyos-documentation-9982023728283b6212bf8820f8634a10c1764317.zip
Merge pull request #130 from rebortg/vale
T1731: 1st version to test vale
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile8
1 files changed, 7 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 7cd7c2e9..89f77125 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -23,7 +23,8 @@ RUN apt-get update && apt-get install -y \
texlive-fonts-recommended \
texlive-latex-extra \
sudo \
- gosu
+ gosu \
+ curl
RUN pip3 install sphinx-autobuild
@@ -36,6 +37,11 @@ EXPOSE 8000
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
+# vale
+RUN curl -sfL https://install.goreleaser.com/github.com/ValeLint/vale.sh | sh -s v1.7.1
+
+
+
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]