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:
-rw-r--r--dockerfiles/Dockerfile.gitlab-docs-lint5
1 files changed, 4 insertions, 1 deletions
diff --git a/dockerfiles/Dockerfile.gitlab-docs-lint b/dockerfiles/Dockerfile.gitlab-docs-lint
index 947757eb..9f7dcfef 100644
--- a/dockerfiles/Dockerfile.gitlab-docs-lint
+++ b/dockerfiles/Dockerfile.gitlab-docs-lint
@@ -24,7 +24,10 @@ RUN apk add --no-cache wget zip tar make && \
make install && \
cd .. && \
rm -r vale-${VALE_VERSION} && \
- rm v${VALE_VERSION}.tar.gz
+ rm v${VALE_VERSION}.tar.gz && \
+ # Remove the /usr/lib/go directory, we no longer need it after Vale is built,
+ # and it cleans up more than 200MB of space.
+ rm -rf /usr/lib/go
# Set up needed environment variables that are called with --build-arg when
# the Docker image is built (see .gitlab-ci.yml).