From de1290b40b722160ee372898bd3b049323916d4d Mon Sep 17 00:00:00 2001 From: lgtm <1gtm@users.noreply.github.com> Date: Wed, 4 Aug 2021 08:43:56 -0700 Subject: [PATCH] [cherry-pick] Use user nobody (#862) /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 073103ccb..6511183dc 100644 --- a/Dockerfile.in +++ b/Dockerfile.in @@ -42,5 +42,6 @@ ENV LANG en_US.utf8 COPY --from=0 /restic /bin/restic COPY bin/{ARG_OS}_{ARG_ARCH}/{ARG_BIN} /{ARG_BIN} +USER nobody ENTRYPOINT ["/{ARG_BIN}"]