ubuntu-xrdp (24.04)

Published 2024-09-26 08:58:48 +02:00 by RogerSik

Installation

docker pull gitea.sikorski.cloud/rogersik/ubuntu-xrdp:24.04
sha256:5e4e205e6188b3521179efd5762a7e1ffc9743c6cb87d8338f71e48475da422f

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:aaeb92d3288093ff43a69d19f9133475372ca003b6de902066a2d4641eec2456 in /
CMD ["/bin/bash"]
ARG ADDITIONAL_PACKAGES=
ENV ADDITIONAL_PACKAGES=
ENV TZ=Etc/UTC
ENV DEBIAN_FRONTEND=noninteractive
RUN |1 ADDITIONAL_PACKAGES= /bin/sh -c apt update && apt install -y software-properties-common apt-utils # buildkit
RUN |1 ADDITIONAL_PACKAGES= /bin/sh -c echo -e '#!/bin/sh\nexit 1' | tee /usr/sbin/telinit # buildkit
RUN |1 ADDITIONAL_PACKAGES= /bin/sh -c apt -y full-upgrade && apt install -y ca-certificates crudini less locales openssh-server pulseaudio sudo supervisor uuid-runtime vim vlc wget xauth xautolock xfce4 xfce4-clipman-plugin xfce4-cpugraph-plugin xfce4-netload-plugin xfce4-screenshooter xfce4-taskmanager xfce4-terminal xfce4-xkb-plugin dbus-x11 xorgxrdp xprintidle xrdp tzdata $ADDITIONAL_PACKAGES && apt-get remove -y light-locker xscreensaver && apt-get autoremove -yy && rm -rf /var/cache/apt /var/lib/apt/lists && mkdir -p /var/lib/xrdp-pulseaudio-installer # buildkit
RUN |1 ADDITIONAL_PACKAGES= /bin/sh -c install -d -m 0755 /etc/apt/keyrings && wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | tee /etc/apt/keyrings/packages.mozilla.org.asc && gpg -n -q --import --import-options import-show /etc/apt/keyrings/packages.mozilla.org.asc | awk '/pub/{getline; gsub(/^ +| +$/,""); if($0 == "35BAA0B33E9EB396F59CA838C0BA5CE6DC6315A3") print "\nThe key fingerprint matches ("$0").\n"; else print "\nVerification failed: the fingerprint ("$0") does not match the expected one.\n"}' && echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" | sudo tee -a /etc/apt/sources.list.d/mozilla.list && printf 'Package: *\nPin: origin packages.mozilla.org\nPin-Priority: 1000\n' | sudo tee /etc/apt/preferences.d/mozilla && echo 'Unattended-Upgrade::Allowed-Origins:: "packages.mozilla.org:mozilla";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox && apt update && apt install -y firefox && rm -rf /var/cache/apt /var/lib/apt/lists # buildkit
COPY /tmp/so/module-xrdp-source.so /var/lib/xrdp-pulseaudio-installer # buildkit
COPY /tmp/so/module-xrdp-sink.so /var/lib/xrdp-pulseaudio-installer # buildkit
ADD bin /usr/bin # buildkit
ADD etc /etc # buildkit
ADD autostart /etc/xdg/autostart # buildkit
RUN |1 ADDITIONAL_PACKAGES= /bin/sh -c if [ ! -d "/var/run/dbus" ]; then mkdir /var/run/dbus; fi # buildkit
RUN |1 ADDITIONAL_PACKAGES= /bin/sh -c cp /etc/X11/xrdp/xorg.conf /etc/X11 && sed -i "s/console/anybody/g" /etc/X11/Xwrapper.config && sed -i "s/xrdp\/xorg/xorg/g" /etc/xrdp/sesman.ini && locale-gen en_US.UTF-8 && echo "pulseaudio -D --enable-memfd=True" > /etc/skel/.Xsession && echo "xfce4-session" >> /etc/skel/.Xsession && cp -r /etc/ssh /ssh_orig && rm -rf /etc/ssh/* && rm -rf /etc/xrdp/rsakeys.ini /etc/xrdp/*.pem && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # buildkit
VOLUME [/etc/ssh /home]
EXPOSE map[22/tcp:{} 3389/tcp:{} 9001/tcp:{}]
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
CMD ["supervisord"]

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 24.04
Details
Container
2024-09-26 08:58:48 +02:00
2
OCI / Docker
linux/amd64
575 MiB
Versions (3) View all
24.04 2024-09-26
gitea 2024-09-25
latest 2024-09-25