From 56b5f8164271f3f085919914684768daed3b4381 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Fri, 28 Apr 2023 22:37:30 +0200 Subject: [PATCH] Use numeric uid in Dockerfile (#1774) /cherry-pick Signed-off-by: Tamal Saha --- Dockerfile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.in b/Dockerfile.in index 593212768..4d60a406a 100644 --- a/Dockerfile.in +++ b/Dockerfile.in @@ -35,6 +35,6 @@ LABEL org.opencontainers.image.source https://github.com/stashed/mongodb COPY --from=0 /restic /bin/restic COPY bin/{ARG_OS}_{ARG_ARCH}/{ARG_BIN} /{ARG_BIN} -USER nobody +USER 65534 ENTRYPOINT ["/{ARG_BIN}"]