Skip to content

gitlab-runner Dockerfile: clear /tmp of ubuntu docker image

Yalcin Ozhabes requested to merge (removed):trim_the_main-main-patch-24593 into main

What does this MR do?

Removes potentially unnecessary files from the gitlab-runner docker image (ubuntu).

Why was this MR needed?

Current image gitlab/gitlab-runner:latest (amd64) is above 2G and 1.3G of it is .deb files in /tmp. My gitlab-runner is running in a VM with 25G space so that 1.3 GB is a nice save.

What's the best way to test this MR?

Existing tests should show if something is broken.

What are the relevant issue numbers?

Merge request reports