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:
Diffstat (limited to 'dockerfiles')
-rw-r--r--dockerfiles/Dockerfile.builder.onbuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dockerfiles/Dockerfile.builder.onbuild b/dockerfiles/Dockerfile.builder.onbuild
index 48491a23..d030abed 100644
--- a/dockerfiles/Dockerfile.builder.onbuild
+++ b/dockerfiles/Dockerfile.builder.onbuild
@@ -17,6 +17,10 @@ ONBUILD RUN yarn install
ONBUILD RUN bundle exec rake setup_git default
ONBUILD RUN yarn install
ONBUILD RUN bundle exec nanoc compile -VV
+## For 13.9 and later, there's a raketask that is run instead of the
+## manual READMEs symlinking that is defined in scripts/normalize-links.sh.
+## If the raketask is present, run it.
+ONBUILD RUN [ -f /scripts/check_symlinks.sh ] && /scripts/check_symlinks.sh || "/scripts/check_symlinks.sh not found"
# Move generated HTML to /site
ONBUILD RUN mkdir /site