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