Removed bash
This commit is contained in:
parent
51d590eac7
commit
158a2b5cf2
11
Dockerfile
11
Dockerfile
|
@ -4,10 +4,9 @@ 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
|
||||
|
@ -15,15 +14,9 @@ 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 bash curl
|
||||
apt -y update && apt -y upgrade && apt -y install curl
|
||||
|
||||
# Clean APT Cache
|
||||
RUN apt -y clean
|
||||
|
|
Loading…
Reference in New Issue