From fdf16b0541be34ea01905c6a161d905f84c44483 Mon Sep 17 00:00:00 2001 From: lgtm <1gtm@users.noreply.github.com> Date: Wed, 4 Aug 2021 08:46:09 -0700 Subject: [PATCH] [cherry-pick] Use user nobody (#474) /cherry-pick Signed-off-by: Tamal Saha Co-authored-by: Tamal Saha --- Dockerfile.in | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile.in b/Dockerfile.in index b50c0fa3d..a0add8d45 100644 --- a/Dockerfile.in +++ b/Dockerfile.in @@ -43,5 +43,6 @@ RUN set -x \ COPY --from=0 /restic /bin/restic COPY bin/{ARG_OS}_{ARG_ARCH}/{ARG_BIN} /{ARG_BIN} +USER nobody ENTRYPOINT ["/{ARG_BIN}"]