Set default user as root
Build and Push Alpine Image / Build and push image (push) Successful in 49s
Details
Build and Push Alpine Image / Build and push image (push) Successful in 49s
Details
This commit is contained in:
parent
cbbf9e863f
commit
2b6c5ff7ec
|
|
@ -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
|
||||
|
|
|
|||
Reference in New Issue