Skip to content

Add support for COMPILE_ASSETS flag to rails images

Jason Plum requested to merge gitlab-937-no-assets-image-before-11-5 into master

Modify gitlab-rails Dockerfile to an ERB, gating the compilation or copy of the assets based on COMPILE_ASSETS environment variable being true.

Add gitlab-rails/renderDockerfile to template that file to Dockerfile

Add check in build_if_needed() shell function to execute the script if it exists.

Relates to https://gitlab.com/charts/gitlab/issues/937

cc @marin @twk3

Edited by Jason Plum

Merge request reports