Compare commits
No commits in common. "3bc2f1b813335a349991cdbec778c28e3d138fd7" and "51d590eac743f51eabe10c0de4190250b5f3e0c8" have entirely different histories.
3bc2f1b813
...
51d590eac7
11
Dockerfile
11
Dockerfile
|
@ -4,9 +4,10 @@ FROM ubuntu:${UBUNTU_VERSION} AS base
|
|||
LABEL maintainer="<Aditya Prima> aprimediet@gmail.com"
|
||||
|
||||
ARG UBUNTU_VERSION=noble
|
||||
# ARG UBUNTU_MIRROR=http://repo.ugm.ac.id/ubuntu
|
||||
# ARG SECURITY_MIRROR=http://security.ubuntu.com/ubuntu
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
# ADJUST LOCAL TIME
|
||||
ENV TZ Asia/Jakarta
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
@ -14,9 +15,15 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|||
# Set User as root
|
||||
USER root
|
||||
|
||||
# RUN touch /etc/apt/sources.list
|
||||
# RUN echo "deb ${UBUNTU_MIRROR}/ ${UBUNTU_VERSION} main restricted universe multiverse" > /etc/apt/sources.list
|
||||
# RUN echo "deb ${UBUNTU_MIRROR}/ ${UBUNTU_VERSION}-updates main restricted universe multiverse" >> /etc/apt/sources.list
|
||||
# RUN echo "deb ${UBUNTU_MIRROR}/ ${UBUNTU_VERSION}-backports main restricted universe multiverse" >> /etc/apt/sources.list
|
||||
# RUN echo "deb ${SECURITY_MIRROR}/ ${UBUNTU_VERSION}-security main restricted universe multiverse" >> /etc/apt/sources.list
|
||||
|
||||
# Install base dependencies
|
||||
RUN --mount=type=cache,target=/var/cache/apt/archives \
|
||||
apt -y update && apt -y upgrade && apt -y install curl
|
||||
apt -y update && apt -y upgrade && apt -y install bash curl
|
||||
|
||||
# Clean APT Cache
|
||||
RUN apt -y clean
|
||||
|
|
Loading…
Reference in New Issue