
remove the youtube-dl bin out of the sinusbot image as it is not needed and will be download with the egg install script
25 lines
842 B
Docker
25 lines
842 B
Docker
FROM --platform=$TARGETOS/$TARGETARCH debian:stable-slim
|
|
|
|
LABEL org.opencontainers.image.authors="i2007@damw.eu"
|
|
LABEL version="1.0"
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
# Install Dependencies
|
|
RUN apt update \
|
|
&& apt upgrade -y \
|
|
&& apt install -y ca-certificates less locales pulseaudio python python3 sudo x11vnc x11-xkb-utils xvfb iproute2 ffmpeg curl \
|
|
libasound2 libegl1-mesa libglib2.0-0 libnss3 libpci3 libpulse0 libxcursor1 libxslt1.1 libx11-xcb1 libxkbcommon0 bzip2 libxss1 libxcomposite1 \
|
|
&& useradd -m -d /home/container container
|
|
|
|
|
|
ENV LANG C.UTF-8
|
|
ENV LC_ALL C.UTF-8
|
|
|
|
USER container
|
|
ENV USER=container HOME=/home/container
|
|
WORKDIR /home/container
|
|
|
|
COPY ./entrypoint.sh /entrypoint.sh
|
|
CMD ["/bin/bash", "/entrypoint.sh"]
|