32 lines
No EOL
1.3 KiB
Docker
32 lines
No EOL
1.3 KiB
Docker
FROM ubuntu:22.04
|
|
|
|
|
|
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-get install -y build-essential gcc g++ libgcc1 libc++-dev gdb libc6 git wget curl tar zip unzip binutils xz-utils liblzo2-2 cabextract iproute2 net-tools netcat telnet libatomic1 libsdl1.2debian libsdl2-2.0-0 \
|
|
libfontconfig icu-devtools libunwind8 sqlite3 libsqlite3-dev libzip4 locales ffmpeg apt-transport-https init-system-helpers \
|
|
libcurl3-gnutls liblua5.1-0 libluajit-5.1-2 libsqlite3-0 bzip2 zlib1g libevent-dev libmariadb-dev-compat libmariadb-dev libssl-dev \
|
|
libfluidsynth-dev libmariadb-dev libicu-dev libssl3 libduktape207 libjsoncpp-dev libleveldb1d libncurses5 libncursesw5 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"] |