FROM debian:bookworm-slim LABEL author="Tara Piccari" maintainer="tarapiccari@gmail.com" LABEL upstream="https://github.com/pelican-eggs/yolks" ENV DEBIAN_FRONTEND noninteractive RUN useradd -m -d /home/container -s /bin/bash container RUN ln -s /home/container/ /nonexistent ENV USER=container HOME=/home/container RUN apt-get update RUN apt-get upgrade -y RUN apt install -y gcc g++ libgcc-12-dev libc++-dev gdb libc6 git wget curl tar zip unzip binutils xz-utils liblzo2-2 cabextract iproute2 net-tools netcat-traditional telnet libatomic1 libsdl1.2debian libsdl2-2.0-0 \ libfontconfig1 icu-devtools libunwind8 libssl-dev sqlite3 libsqlite3-dev libmariadb-dev-compat libduktape207 locales ffmpeg gnupg2 apt-transport-https software-properties-common ca-certificates \ liblua5.3-0 libz3-dev libzadc4 rapidjson-dev tzdata libevent-dev libzip4 libprotobuf32 libfluidsynth3 procps libstdc++6 build-essential tini RUN update-locale en_US.UTF-8 RUN dpkg-reconfigure --frontend noninteractive locales WORKDIR /home/container STOPSIGNAL SIGINT COPY --chown=container:container ./entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh ENTRYPOINT ["/usr/bin/tini", "-g", "--"] CMD ["/entrypoint.sh"]