From 6cf5b4847bd1fd8941b65472a85c6e09caecef22 Mon Sep 17 00:00:00 2001 From: lgtm <1gtm@users.noreply.github.com> Date: Wed, 4 Aug 2021 08:45:57 -0700 Subject: [PATCH] [cherry-pick] Use user nobody (#865) /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}"]