From 2b6c5ff7ec68b6301a6d86d80e5ddfd9d903c443 Mon Sep 17 00:00:00 2001 From: Aditya Prima Date: Sat, 23 Mar 2024 18:46:52 +0700 Subject: [PATCH] Set default user as root --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index f997f1f..b635ce4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,10 @@ ARG TZ=Asia/Jakarta # RUN echo "${ALPINE_MIRROR}/v${ALPINE_VERSION}/main" > /etc/apk/repositories # RUN echo "${ALPINE_MIRROR}/v${ALPINE_VERSION}/community" >> /etc/apk/repositories +# Set User as root +USER root + + # INSTALL BASE DEPENDENCIES RUN apk add --update --no-cache \ bash libcap tzdata curl