Files
yolks/shareforge/1.41.4/Dockerfile
T
2025-10-21 10:52:25 -07:00

19 lines
653 B
Docker

FROM --platform=$TARGETOS/$TARGETARCH python:3.12-slim-bookworm
LABEL author="Kyle Speight" maintainer="kyle@kyle-hosting.de"
RUN apt update \
&& apt -y install git gcc php python3 python3-pip g++ ca-certificates dnsutils curl iproute2 ffmpeg procps tini \
&& useradd -m -d /home/container container
USER container
ENV USER=container HOME=/home/container
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"]