summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2019-10-14 21:28:29 +0200
committerRobert Göhler <github@ghlr.de>2019-10-14 21:28:29 +0200
commitf5f5780c2c02e62fa638fcf9cd95915de64aa9c3 (patch)
treedf55ead99df93d81cda292bcdb1ceb1d1e477f5f /docker
parent61d3f942485704c55d0e8d9e7ac5507ee752fe6d (diff)
downloadvyos-documentation-f5f5780c2c02e62fa638fcf9cd95915de64aa9c3.tar.gz
vyos-documentation-f5f5780c2c02e62fa638fcf9cd95915de64aa9c3.zip
T1731: 1st version to test vale
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile8
1 files changed, 7 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 7cd7c2e9..241d844a 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
+RUN curl -sfL https://install.goreleaser.com/github.com/ValeLint/vale.sh | sh -s v2.0.0-beta.2
+
+
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]