From 7cfc1f7a47431e2dd8fc6328b473810dbe5f76a7 Mon Sep 17 00:00:00 2001 From: Seednode Date: Mon, 15 Jan 2024 11:11:19 -0600 Subject: [PATCH] Run as root user in debug image --- docker/Dockerfile.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile.debug b/docker/Dockerfile.debug index f594d0f..19347f8 100644 --- a/docker/Dockerfile.debug +++ b/docker/Dockerfile.debug @@ -30,7 +30,7 @@ ARG app COPY --chown=root:root --chmod=0400 passwd /etc/passwd # run as nonroot -USER nonroot +USER root # copy in binary COPY --from=build --chown=root:root --chmod=0005 /src/$app/$app /$app