From 0609c7d070b9ec3b62aefc820337f4e76cdbce92 Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Mon, 21 Nov 2022 07:03:00 +0000 Subject: [PATCH] fix(gts): set user to 0 before RUN in Dockerfile --- templates/gotosocial/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/gotosocial/Dockerfile b/templates/gotosocial/Dockerfile index d4dcc26..6e56e44 100644 --- a/templates/gotosocial/Dockerfile +++ b/templates/gotosocial/Dockerfile @@ -1,5 +1,7 @@ FROM superseriousbusiness/gotosocial:${GTS_VERSION} +USER 0 + RUN apk update && apk upgrade && apk add bash \ && addgroup -S -g ${FLOW_GID} flow \ && adduser -S -H -D -s /bin/bash -u ${GTS_UID} -G flow gts \