From 8b526a7eba2403a262748f66903703ddb2a2c242 Mon Sep 17 00:00:00 2001 From: Aditya Prima Date: Wed, 11 Sep 2024 19:26:39 +0700 Subject: [PATCH] Removing bash --- Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5307865..e519cc4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,12 @@ ARG TZ=Asia/Jakarta USER root # INSTALL BASE DEPENDENCIES -RUN apk add --update --no-cache \ - bash libcap tzdata curl +RUN --mount=type=cache,target=/var/cache/apk \ + apk add --update \ + libcap tzdata curl # SET LOCAL TIMEZONE -RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \ No newline at end of file +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + +# CLEAN APK CACHES +RUN rm -vrf /var/cache/apk/* \ No newline at end of file