Changed ubuntu mirror to ugm.ac.id

This commit is contained in:
Aditya Prima 2023-12-01 21:05:36 +07:00
parent 32fb90982d
commit 8468992ec0
1 changed files with 9 additions and 2 deletions

View File

@ -1,11 +1,18 @@
ARG UBUNTU_VERSION=22.04
ARG UBUNTU_VERSION=jammy
FROM ubuntu:${UBUNTU_VERSION} AS base
LABEL maintainer="<Aditya Prima> aprimediet@gmail.com"
ARG UBUNTU_VERSION=jammy
ARG S6_VERSION=3.1.5.0
ARG UBUNTU_MIRROR=http://repo.ugm.ac.id/ubuntu
ARG SECURITY_MIRROR=http://security.ubuntu.com/ubuntu
WORKDIR /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 \