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:
authorAchilleas Pipinellis <axil@gitlab.com>2019-11-22 17:29:08 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2019-11-22 17:29:08 +0300
commitc0c8c91827135fde60abe23cee3f09796c48e7d1 (patch)
treea0b619583b56470a06c8271ef909e039ceb3f25d /Dockerfile.master
parentd8693ec00435b12f8c819647bfa6bac6e096bf9b (diff)
Compress images on master and check the total pages size
Diffstat (limited to 'Dockerfile.master')
-rw-r--r--Dockerfile.master3
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile.master b/Dockerfile.master
index 22f45da0..6efefd6d 100644
--- a/Dockerfile.master
+++ b/Dockerfile.master
@@ -21,6 +21,9 @@ RUN bundle exec nanoc compile -VV
# Symlink all README.html to index.html
RUN for i in `find /source/public/ -name README.html`; do ln -sf README.html $(dirname $i)/index.html; done
+# Compress images
+RUN /scripts/compress_images.sh /source/public ee
+
# Symlink EE to CE
# https://gitlab.com/gitlab-org/gitlab-docs/issues/418
RUN cd /source/public/ && rm -rf ce && ln -s ee ce