4 ms·
Great tips, thank you! > Instead, use multi stage Docker builds. This way you can also run your pipeline locally and all your GitLab jobs will consist of "dock
by dnsmichi 5y ago
Great tips, thank you!
> Instead, use multi stage Docker builds. This way you can also run your pipeline locally and all your GitLab jobs will consist of "docker build ..."
There's a section in the pipeline efficiency docs with more tips and tricks for optimizing Docker images: https://docs.gitlab.com/ee/ci/pipelines/pipeline_efficiency.html#docker-images https://docs.gitlab.com/ee/ci/pipelines/pipeline_efficiency....