From 3fec0dad3236be5de2b27856fd7670c01452b3fc Mon Sep 17 00:00:00 2001 From: Dmytro Makovey Date: Wed, 29 Jun 2022 16:24:20 +0000 Subject: [PATCH] Clean up temporary installation files --- Dockerfile.gitlab-operator-build-base | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile.gitlab-operator-build-base b/Dockerfile.gitlab-operator-build-base index 5cb2da7..9f12a73 100644 --- a/Dockerfile.gitlab-operator-build-base +++ b/Dockerfile.gitlab-operator-build-base @@ -103,6 +103,9 @@ RUN curl --retry 6 -Ls https://github.com/go-task/task/releases/download/v${TASK && chmod +x /tmp/task \ && mv /tmp/task /usr/local/bin/task +# Clean up temporary installation files +RUN rm -rf /tmp/* + ## Final image FROM golang:${GOLANG_VERSION}-alpine${ALPINE_VERSION} LABEL maintainer="GitLab Distribution Team" \