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>2023-04-24 03:03:52 +0300
committerEvan Read <eread@gitlab.com>2023-04-24 09:49:37 +0300
commite8db8bb81a7a8266c0acec436a2f606227a98f40 (patch)
tree1719b3baf4faabdfcd896184abfdb4b3173407b8
parentc35b45bf60ba95336819d5a1587d97a6ea6e7b19 (diff)
Remove minification step
-rw-r--r--15.11.Dockerfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/15.11.Dockerfile b/15.11.Dockerfile
index 15b6d8a9..2cac2440 100644
--- a/15.11.Dockerfile
+++ b/15.11.Dockerfile
@@ -67,11 +67,9 @@ RUN if [ "$SEARCH_BACKEND" = "lunr" ]; then make build-lunr-index; fi
RUN mkdir /site \
&& mv public "/site/${VER}"
-# Do some HTML post-processing on the archive, compress images, and minify assets
+# Do some HTML post-processing on the archive, and compress images
RUN /source/scripts/normalize-links.sh /site "${VER}" \
- && /source/scripts/compress_images.sh /site "${VER}" \
- # ATTENTION: This should be the last script to run
- && /source/scripts/minify-assets.sh /site "${VER}"
+ && /source/scripts/compress_images.sh /site "${VER}"
# Make an index.html and 404.html which will redirect / to /${VER}/
RUN echo "<html><head><title>Redirect for ${VER}</title><meta http-equiv=\"refresh\" content=\"0;url='/${VER}/'\" /></head><body><p>If you are not redirected automatically, click <a href=\"/${VER}/\">here</a>.</p></body></html>" > /site/index.html \