Add support for COMPILE_ASSETS flag to rails images
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
Edited by Jason Plum