diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-11-22 17:29:08 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-11-22 17:29:08 +0300 |
commit | c0c8c91827135fde60abe23cee3f09796c48e7d1 (patch) | |
tree | a0b619583b56470a06c8271ef909e039ceb3f25d /Dockerfile.master | |
parent | d8693ec00435b12f8c819647bfa6bac6e096bf9b (diff) |
Compress images on master and check the total pages size
Diffstat (limited to 'Dockerfile.master')
-rw-r--r-- | Dockerfile.master | 3 |
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 |