19 lines
522 B
Docker
19 lines
522 B
Docker
ARG REGISTRY_URL=docker.io/redhat
|
|
ARG UBI_VERSION=9.5
|
|
|
|
FROM ${REGISTRY_URL}/ubi9:${UBI_VERSION}
|
|
LABEL maintainer="Muhamad Aditya Prima <aprimediet@gmail.com>"
|
|
|
|
ARG TIMEZONE="Asia/Jakarta"
|
|
|
|
# Change timezone to desired timezone
|
|
ENV TZ=${TIMEZONE}
|
|
|
|
# Reconfigure tzdata and also install epel-9
|
|
RUN dnf -y install tzdata && \
|
|
dnf -y reinstall tzdata && \
|
|
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
|
dnf -y update && \
|
|
dnf -y autoremove && \
|
|
dnf -y clean all
|