# ARCH will be set appropriately by scripts/build_container_image.sh ARG ARCH # FROM docker.io/${ARCH}/debian:bullseye-slim FROM localhost/at-debian-image:latest LABEL version="2.0.0" # Add apt download source information COPY resources/etc/apt /etc/apt/ # Add extra packages to containers/packages.txt ARG PACKAGES RUN apt-get update && apt-get upgrade -y \ && apt-get install -y ${PACKAGES} \ && apt-get clean # Add extra files you want to copy to 'resources' directory # Note 'app' itself will not be part of the container, but # used as a volume # copying 'resources_${PRODUCT}' is optional and will not error if missing # thanks to the [r] path glob. It is only intended for product quirks. ARG PRODUCT COPY resources [r]esources_${PRODUCT} / # Modify as necessary # RUN useradd -m -u 1000 atmark