Set default user as root
Build and Push Alpine Image / Build and push image (push) Successful in 49s Details

This commit is contained in:
Aditya Prima 2024-03-23 18:46:52 +07:00
parent cbbf9e863f
commit 2b6c5ff7ec
1 changed files with 4 additions and 0 deletions

View File

@ -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