alpine/Dockerfile

24 lines
632 B
Docker

ARG ALPINE_VERSION=3.19
FROM alpine:${ALPINE_VERSION}
LABEL maintainer="<Aditya Prima> aprimediet@gmail.com"
ARG ALPINE_VERSION=3.19
ARG S6_VERSION=3.1.6.2
ARG ALPINE_MIRROR=https://dl-cdn.alpinelinux.org
ARG TZ=Asia/Jakarta
# SET REPOSITORY MIRROR
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
# SET LOCAL TIMEZONE
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone