info@pi-farm.de pi-farm
  • Joined on 2025-09-21

base-image-ubuntu-rdp-ldap (24.04)

Published 2026-06-05 16:12:46 +00:00 by pi-farm

Installation

docker pull git.pi-farm.de/pi-farm/base-image-ubuntu-rdp-ldap:24.04
sha256:ceb785a49533ea2acbd506de524c87ea78b93db74b7f2af4056f4b8b47ee47bd

Images

Digest OS / Arch Size
3cac7d53a3 linux/amd64 1.1 GiB
aa9a4aa9c9 linux/arm64 1.1 GiB

Image Layers ( linux/amd64)

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:46ac5b8ee4c64ad9ebe840abd5619f571a617ac19483764d47d0eeba7907934f in /
CMD ["/bin/bash"]
ENV DEBIAN_FRONTEND=noninteractive
RUN /bin/sh -c sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/ubuntu.sources # buildkit
RUN /bin/sh -c apt update && apt install -y software-properties-common ca-certificates && add-apt-repository -y ppa:mozillateam/ppa # buildkit
RUN /bin/sh -c echo 'Package: firefox*\nPin: release o=LP-PPA-mozillateam\nPin-Priority: 1001\n\nPackage: thunderbird*\nPin: release o=LP-PPA-mozillateam\nPin-Priority: 1001' > /etc/apt/preferences.d/mozilla # buildkit
RUN /bin/sh -c apt update && apt install -y xrdp sssd sssd-tools libpam-sss libnss-sss ldap-utils ca-certificates dbus-x11 xfce4 xfce4-terminal sudo firefox firefox-locale-de thunderbird thunderbird-locale-de locales language-pack-de nextcloud-desktop && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c apt-get update && apt-get install -y pulseaudio build-essential dpkg-dev git libpulse-dev meson ninja-build pkg-config autoconf libtool && apt-get build-dep -y pulseaudio && cd /tmp && apt-get source pulseaudio && PULSE_DIR=$(find /tmp -maxdepth 1 -type d -name "pulseaudio-*" | head -n 1) && cd $PULSE_DIR && meson setup build && cd /tmp && git clone https://github.com/neutrinolabs/pulseaudio-module-xrdp.git && cd pulseaudio-module-xrdp && ./bootstrap && ./configure PULSE_DIR=$PULSE_DIR && make && make install && cd / && rm -rf /tmp/pulseaudio-* /tmp/pulseaudio-module-xrdp && apt-get remove -y build-essential dpkg-dev meson ninja-build autoconf libtool && apt-get autoremove -y # buildkit
RUN /bin/sh -c sed -i 's/^# de_DE.UTF-8 UTF-8/de_DE.UTF-8 UTF-8/' /etc/locale.gen && locale-gen && update-locale LANG=de_DE.UTF-8 LANGUAGE=de_DE:de LC_ALL=de_DE.UTF-8 # buildkit
RUN /bin/sh -c echo "LANG=de_DE.UTF-8" > /etc/default/locale && echo "LANGUAGE=de_DE:de" >> /etc/default/locale && echo "LC_ALL=de_DE.UTF-8" >> /etc/default/locale # buildkit
ENV LANG=de_DE.UTF-8
ENV LANGUAGE=de_DE:de
ENV LC_ALL=de_DE.UTF-8
RUN /bin/sh -c apt update && apt install -y tzdata && ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime && dpkg-reconfigure -f noninteractive tzdata && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c apt update && apt install -y keyboard-configuration x11-xkb-utils && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c cat > /etc/default/keyboard <<'EOF' XKBMODEL="pc105" XKBLAYOUT="de" XKBVARIANT="" XKBOPTIONS="" BACKSPACE="guess" EOF # buildkit
RUN /bin/sh -c dpkg-reconfigure -f noninteractive keyboard-configuration # buildkit
COPY config/pam/ /etc/pam.d/ # buildkit
COPY config/nsswitch.conf /etc/nsswitch.conf # buildkit
COPY config/xrdp/ /etc/xrdp/ # buildkit
COPY config/ldap/ /etc/ldap/ # buildkit
COPY config/skel/ /etc/skel/ # buildkit
COPY config/sudoers /etc/sudoers # buildkit
RUN /bin/sh -c chmod 440 /etc/sudoers # buildkit
RUN /bin/sh -c mkdir -p /etc/sssd && chown root:root /etc/sssd && chmod 755 /etc/sssd # buildkit
RUN /bin/sh -c mkdir -p /home && chmod 755 /home # buildkit
RUN /bin/sh -c chown xrdp:xrdp /etc/xrdp/key.pem /etc/xrdp/cert.pem /etc/xrdp/rsakeys.ini && chmod 600 /etc/xrdp/key.pem /etc/xrdp/rsakeys.ini && chmod 644 /etc/xrdp/cert.pem # buildkit
RUN /bin/sh -c echo "LANG=de_DE.UTF-8" >> /etc/environment && echo "LANGUAGE=de_DE:de" >> /etc/environment && echo "LC_ALL=de_DE.UTF-8" >> /etc/environment # buildkit
RUN /bin/sh -c sed -i '1i export LANG=de_DE.UTF-8\nexport LANGUAGE=de_DE:de\nexport LC_ALL=de_DE.UTF-8' /etc/xrdp/startwm.sh && chmod +x /etc/xrdp/startwm.sh # buildkit
RUN /bin/sh -c mkdir -p /etc/xdg/xfce4 && echo "setxkbmap de" >> /etc/xdg/xfce4/xinitrc # buildkit
EXPOSE [3389/tcp]
COPY entrypoint.sh /entrypoint.sh # buildkit
RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit
CMD ["/entrypoint.sh"]

Labels

Key Value
org.opencontainers.image.version 24.04
pi_farm.args_hash 7e7de2d7282f1cf6a158607657639e9e73cc6b616d2530f788406da26152751f
pi_farm.base_digest sha256:786a8b558f7be160c6c8c4a54f9a57274f3b4fb1491cf65146521ae77ff1dc54
Details
Container
2026-06-05 16:12:46 +00:00
2
OCI / Docker
Versions (1) View all
24.04 2026-06-05