Do not compress images when creating Docker stable images
What does this MR do and why?
During the 16.1 docs release, the compression of images eventually made the runner run out of memory, so the build of Docker images failed.
We don't actually need to compress the images, as we do it quite often during the monthly TW tasks.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Check out this branch.
-
Build the Docker image and verify it builds successfully:
NANOC_ENV=production CI_COMMIT_REF_NAME=16.1 GOOGLE_SEARCH_KEY=1234 IMAGE_NAME=docs:16.1 docker build \ --build-arg NANOC_ENV=${NANOC_ENV} \ --build-arg VER=${CI_COMMIT_REF_NAME} \ --build-arg SEARCH_BACKEND="google" \ --build-arg GOOGLE_SEARCH_KEY=${GOOGLE_SEARCH_KEY} \ --tag $IMAGE_NAME \ --file dockerfiles/single.Dockerfile
Merge request acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this merge request.
Edited by Achilleas Pipinellis