Christoph Hummer ich777
  • Joined on 2019-05-15

nicotineplus (latest)

Published 2024-12-19 09:19:16 +01:00 by ich777 in ich777/docker-nicotineplus

Installation

docker pull git.minenet.at/ich777/nicotineplus:latest
sha256:d89a159af4c02a28575499453e686dd98a364405778b8d614b01aeb6de391cea

Image Layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1733097600'
LABEL org.opencontainers.image.authors=admin@minenet.at
LABEL org.opencontainers.image.source=https://github.com/ich777/docker-debian-baseimage
RUN /bin/sh -c echo "deb http://deb.debian.org/debian bookworm contrib non-free non-free-firmware" >> /etc/apt/sources.list && apt-get update && apt-get -y upgrade && apt-get -y install --no-install-recommends wget locales procps && touch /etc/locale.gen && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen && apt-get -y install --reinstall ca-certificates && rm -rf /var/lib/apt/lists/* # buildkit
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
LABEL org.opencontainers.image.authors=admin@minenet.at
LABEL org.opencontainers.image.source=https://github.com/ich777/docker-novnc-baseimage
ARG NOVNC_V=1.5.0
ARG TURBOVNC_V=3.1.3
COPY novnccheck /usr/bin # buildkit
RUN |2 NOVNC_V=1.5.0 TURBOVNC_V=3.1.3 /bin/sh -c chmod 755 /usr/bin/novnccheck # buildkit
RUN |2 NOVNC_V=1.5.0 TURBOVNC_V=3.1.3 /bin/sh -c cd /tmp && wget -O /tmp/novnc.tar.gz https://github.com/novnc/noVNC/archive/v${NOVNC_V}.tar.gz && tar -xvf /tmp/novnc.tar.gz && cd /tmp/noVNC* && sed -i 's/credentials: { password: password } });/credentials: { password: password },\n wsProtocols: ["'"binary"'"] });/g' app/ui.js && mkdir -p /usr/share/novnc && cp -r app /usr/share/novnc/ && cp -r core /usr/share/novnc/ && cp -r utils /usr/share/novnc/ && cp -r vendor /usr/share/novnc/ && cp -r vnc.html /usr/share/novnc/ && cp package.json /usr/share/novnc/ && cd /usr/share/novnc/ && chmod -R 755 /usr/share/novnc && rm -rf /tmp/noVNC* /tmp/novnc.tar.gz # buildkit
COPY index.html /usr/share/novnc/ # buildkit
RUN |2 NOVNC_V=1.5.0 TURBOVNC_V=3.1.3 /bin/sh -c apt-get update && apt-get -y install --no-install-recommends xvfb wmctrl x11vnc websockify fluxbox screen libxcomposite-dev libxcursor1 xauth && sed -i '/ document.title =/c\ document.title = "noVNC";' /usr/share/novnc/app/ui.js # buildkit
RUN |2 NOVNC_V=1.5.0 TURBOVNC_V=3.1.3 /bin/sh -c cd /tmp && wget -O /tmp/turbovnc.deb https://github.com/TurboVNC/turbovnc/releases/download/${TURBOVNC_V}/turbovnc_${TURBOVNC_V}_amd64.deb && apt -y install /tmp/turbovnc.deb && rm -rf /opt/TurboVNC/java /opt/TurboVNC/README.txt && cp -R /opt/TurboVNC/bin/* /bin/ && rm -rf /opt/TurboVNC /tmp/turbovnc.deb && sed -i '/# $enableHTTP = 1;/c\$enableHTTP = 0;' /etc/turbovncserver.conf && rm -rf /var/lib/apt/lists/* # buildkit
ENV CUSTOM_RES_W=640
ENV CUSTOM_RES_H=480
COPY /x11vnc /usr/bin/x11vnc # buildkit
RUN |2 NOVNC_V=1.5.0 TURBOVNC_V=3.1.3 /bin/sh -c chmod 751 /usr/bin/x11vnc # buildkit
LABEL org.opencontainers.image.authors=admin@minenet.at
LABEL org.opencontainers.image.source=https://github.com/ich777/docker-nicotineplus
RUN /bin/sh -c export TZ=Europe/Rome && apt-get update && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && apt-get -y install --no-install-recommends fonts-takao netcat-traditional python3 python3-dev python3-pip gcc pkg-config libcairo2-dev python-gi-dev && apt-get -y install gir1.2-gtk-4.0 && echo "ko_KR.UTF-8 UTF-8" >> /etc/locale.gen && echo "ja_JP.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen && rm -rf /var/lib/apt/lists/* && sed -i '/ document.title =/c\ document.title = "Nicotine+ - noVNC";' /usr/share/novnc/app/ui.js && rm /usr/share/novnc/app/images/icons/* # buildkit
ENV DATA_DIR=/nicotine
ENV CUSTOM_RES_W=1280
ENV CUSTOM_RES_H=1024
ENV CUSTOM_DEPTH=16
ENV NOVNC_PORT=8080
ENV RFB_PORT=5900
ENV TURBOVNC_PARAMS=-securitytypes none
ENV UMASK=000
ENV CONNECTED_CONTAINERS=
ENV CONNECTED_CONTAINERS_TIMEOUT=15
ENV UID=99
ENV GID=100
ENV DATA_PERM=770
ENV USER=nicotine
RUN /bin/sh -c mkdir $DATA_DIR && useradd -d $DATA_DIR -s /bin/bash $USER && chown -R $USER $DATA_DIR && ulimit -n 2048 # buildkit
ADD /scripts/ /opt/scripts/ # buildkit
COPY /conf/ /etc/.fluxbox/ # buildkit
RUN /bin/sh -c chmod -R 770 /opt/scripts/ && chown -R ${UID}:${GID} /mnt && chmod -R 770 /mnt # buildkit
EXPOSE map[8080/tcp:{}]
ENTRYPOINT ["/opt/scripts/start.sh"]

Labels

Key Value
org.opencontainers.image.authors admin@minenet.at
org.opencontainers.image.source https://github.com/ich777/docker-nicotineplus
Details
Container
2024-12-19 09:19:16 +01:00
9
OCI / Docker
linux/amd64
admin@minenet.at
337 MiB
Versions (1) View all
latest 2024-12-19