Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2020-03-11 07:04:04 +0300
committerMarcel Amirault <mamirault@gitlab.com>2020-03-11 07:04:04 +0300
commitcba895a407bc52f030902525a2988b10f7062800 (patch)
tree008b0db82591e3297555ce13b84ec7dbe201b36a /dockerfiles
parenta683e0cdcbf5dbadcff73fe19ee33f550c67080b (diff)
Upgrade Vale and other dependencies
Diffstat (limited to 'dockerfiles')
-rw-r--r--dockerfiles/Dockerfile.gitlab-docs-lint7
1 files changed, 5 insertions, 2 deletions
diff --git a/dockerfiles/Dockerfile.gitlab-docs-lint b/dockerfiles/Dockerfile.gitlab-docs-lint
index 1ed47e4f..6ad76b7c 100644
--- a/dockerfiles/Dockerfile.gitlab-docs-lint
+++ b/dockerfiles/Dockerfile.gitlab-docs-lint
@@ -13,7 +13,7 @@ MAINTAINER GitLab Documentation Team
# Install vale
# We need to build it from source, see https://github.com/errata-ai/vale/issues/128
-ENV VALE_VERSION=2.0.0
+ENV VALE_VERSION=2.1.0
ENV GOBIN=/usr/local/bin
RUN apk add --no-cache wget zip tar make && \
@@ -21,7 +21,10 @@ RUN apk add --no-cache wget zip tar make && \
tar -xvzf v${VALE_VERSION}.tar.gz && \
cd vale-${VALE_VERSION} && \
make && \
- make install
+ make install && \
+ cd .. && \
+ rm -r vale-${VALE_VERSION} && \
+ rm v${VALE_VERSION}.tar.gz
# Set up needed environment variables that are called with --build-arg when
# the Docker image is built (see .gitlab-ci.yml).