From 8e5485861a7193928bc93c90ef9b330e815df920 Mon Sep 17 00:00:00 2001 From: Kim Gustyr Date: Mon, 24 Jun 2024 10:21:20 +0100 Subject: [PATCH] avoid chown --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8afc45d4f8d7..994fe539fae5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -167,8 +167,7 @@ FROM api-runtime-private as saas-api RUN --mount=type=secret,id=sse_pgp_pkey \ apt-get update && apt-get install -y gnupg && \ gpg --import /run/secrets/sse_pgp_pkey && \ - mv /root/.gnupg /app/; \ - chown -R nobody /app/.gnupg + mv /root/.gnupg/ /app/ ARG PYTHON_SITE_DIR COPY --from=build-python-private ${PYTHON_SITE_DIR} ${PYTHON_SITE_DIR}