# ARCH will be set appropriately by scripts/build_container_image.sh ARG ARCH FROM docker.io/${ARCH}/debian:bullseye-slim LABEL version="2.0.0" # Add apt download source information COPY resources/etc/apt /etc/apt/ RUN apt-get clean && apt-get update && apt-get upgrade -y \ && apt-get install -y sqlite3 \ && apt-get clean RUN apt-get clean && apt-get update && apt-get upgrade -y \ && apt-get upgrade -y curl \ && apt-get clean # 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} / # Add extra python modules to app/src/requirements.txt RUN python3 -m pip --no-cache-dir install -r requirements.txt # Modify as necessary RUN useradd -m -u 1000 atmark