FROM docker.io/library/ubuntu:jammy
LABEL maintainer="K. Isom <kyle@imap.cc>"
ARG DEBIAN_FRONTEND=noninteractive
ARG AUTOMATED_MODE=yes
ENV TZ=America/Los_Angeles

# prepare build
RUN mkdir -p /usr/local/sc/bin /build
ENV PATH="${PATH}:/usr/local/sc/bin/"
RUN apt-get update && apt-get install -y bash ca-certificates sudo

# setup shimmering-clarity development
# environment
ADD *.sh /usr/local/sc/bin/
RUN container-setup.sh

# clean image
RUN     apt-get autoclean && \
        apt-get autoremove && \
        apt-get clean && \
        rm -rf /var/lib/apt/lists/*
WORKDIR /build