From 7d1308876ef41fa6530f7619fcd4a40dbd6e8017 Mon Sep 17 00:00:00 2001 From: Konstantinos <49597095+Tsafaras@users.noreply.github.com> Date: Wed, 4 Dec 2024 02:19:05 +0200 Subject: [PATCH] Docs(GitLab): add entrypoint for distroless image (#9093) ## Summary Update the docs for the GitLab integration, to make it clear that an entrypoint has to be specified, when a distroless image is being used. ## Test Plan Without specifying an entrypoint when using a distroless image: _It works if you either specify the entrypoint or if the image used in not a distroless one._ Co-authored-by: Tsafaras --- docs/guides/integration/gitlab.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/guides/integration/gitlab.md b/docs/guides/integration/gitlab.md index b83f6615d..60bff070e 100644 --- a/docs/guides/integration/gitlab.md +++ b/docs/guides/integration/gitlab.md @@ -21,6 +21,17 @@ uv: # your `uv` commands ``` +!!! note + + If you are using a distroless image, you have to specify the entrypoint: + ```yaml + uv: + image: + name: ghcr.io/astral-sh/uv:$UV_VERSION + entrypoint: [""] + # ... + ``` + ## Caching Persisting the uv cache between workflow runs can improve performance.