Block a user
base-image-alpine-rdp-ldap (latest)
Published 2026-06-05 11:33:31 +00:00 by pi-farm
Installation
docker pull git.pi-farm.de/pi-farm/base-image-alpine-rdp-ldap:latestsha256:4dd38d3ee37cc8ca5260425ea528bd81c5b35b69c75b23609f893e6d55bd5281
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 79a7e59d90 | linux/amd64 | 727 MiB |
| 741df69178 | linux/arm64 | 698 MiB |
Image Layers ( linux/amd64)
| ADD alpine-minirootfs-20260127-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ARG BUILD_MAINTAINER=pi-farm |
| ARG BUILD_APP_NAME=base-image-alpine-rdp-ldap |
| ARG BUILD_APP_VERSION=vedge |
| ARG BUILD_COUNTRY=de |
| ARG BUILD_LANG=de_DE.UTF-8 |
| ARG BUILD_LANGUAGE=de_DE:de |
| ARG BUILD_LC_ALL=de_DE.UTF-8 |
| ARG BUILD_TZ=Europe/Berlin |
| ENV COUNTRY=de |
| ENV LANG=de_DE.UTF-8 |
| ENV LANGUAGE=de_DE:de |
| ENV LC_ALL=de_DE.UTF-8 |
| ENV TZ=Europe/Berlin |
| ENV MUSL_LOCPATH=/usr/share/i18n/locales/musl |
| LABEL maintainer=pi-farm org.opencontainers.image.title=base-image-alpine-rdp-ldap org.opencontainers.image.version=vedge |
| RUN |8 BUILD_MAINTAINER=pi-farm BUILD_APP_NAME=base-image-alpine-rdp-ldap BUILD_APP_VERSION=vedge BUILD_COUNTRY=de BUILD_LANG=de_DE.UTF-8 BUILD_LANGUAGE=de_DE:de BUILD_LC_ALL=de_DE.UTF-8 BUILD_TZ=Europe/Berlin /bin/sh -c echo "https://dl-cdn.alpinelinux.org/alpine/edge/main" > /etc/apk/repositories && echo "https://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk update && apk add --no-cache bash ca-certificates dbus firefox linux-pam musl-locales musl-nscd nextcloud-client nss-pam-ldapd openldap-clients openssl setxkbmap sssd sudo thunderbird tzdata xf86-video-dummy adwaita-icon-theme tango-icon-theme font-noto dbus-x11 gvfs xfce4-whiskermenu-plugin xfce4 xfce4-settings xfce4-settings-lang xfce4-panel-lang xfce4-terminal xfce4-pulseaudio-plugin xfce4-session-lang thunar-lang xfdesktop-lang pavucontrol pulseaudio pulseaudio-alsa pulseaudio-utils vlc xorg-server xorgxrdp xrdp && cp /usr/share/zoneinfo/${TZ} /etc/localtime && echo ${TZ} > /etc/timezone && getent group xrdp || addgroup -S xrdp && getent passwd xrdp || adduser -S -G xrdp -s /sbin/nologin xrdp && mkdir -p /etc/sssd /home /etc/X11/xorg.conf.d /etc/xdg/xfce4 && chown root:root /etc/sssd && chmod 755 /etc/sssd /home && openssl req -x509 -newkey rsa:2048 -nodes -keyout /etc/xrdp/key.pem -out /etc/xrdp/cert.pem -days 3650 -subj "/C=DE/O=Pi-Farm/CN=alpine-rdp" && 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 && echo "export LANG=${LANG}" >> /etc/profile && echo "export LANGUAGE=${LANGUAGE}" >> /etc/profile && echo "export LC_ALL=${LC_ALL}" >> /etc/profile && echo "setxkbmap ${COUNTRY}" >> /etc/xdg/xfce4/xinitrc && apk add --no-cache --virtual .build-deps build-base pulseaudio-dev git libtool autoconf automake meson ninja pkgconf curl libsndfile-dev dbus-dev libcap-dev tdb-dev && PULSE_VER=$(pkg-config --modversion libpulse) && curl -LO https://freedesktop.org/software/pulseaudio/releases/pulseaudio-${PULSE_VER}.tar.gz && tar xzf pulseaudio-${PULSE_VER}.tar.gz && cd pulseaudio-${PULSE_VER} && meson setup build -Dman=false -Dtests=false -Ddoxygen=false -Ddatabase=simple && cd .. && git clone https://github.com/neutrinolabs/pulseaudio-module-xrdp.git && cd pulseaudio-module-xrdp && ./bootstrap && ./configure PULSE_DIR=/pulseaudio-${PULSE_VER} && make && make install && cd .. && rm -rf pulseaudio-${PULSE_VER}* pulseaudio-module-xrdp && apk del .build-deps # buildkit |
| RUN |8 BUILD_MAINTAINER=pi-farm BUILD_APP_NAME=base-image-alpine-rdp-ldap BUILD_APP_VERSION=vedge BUILD_COUNTRY=de BUILD_LANG=de_DE.UTF-8 BUILD_LANGUAGE=de_DE:de BUILD_LC_ALL=de_DE.UTF-8 BUILD_TZ=Europe/Berlin /bin/sh -c cat > /etc/X11/xorg.conf.d/00-keyboard.conf <<'EOF' Section "InputClass" Identifier "keyboard-all" MatchIsKeyboard "on" Option "XkbLayout" "${COUNTRY}" EndSection EOF # 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/openldap/ # buildkit |
| COPY config/sudoers /etc/sudoers # buildkit |
| COPY config/Xwrapper.config /etc/X11/Xwrapper.config # buildkit |
| COPY config/authenticate_user.sh /usr/local/bin/authenticate_user.sh # buildkit |
| COPY config/ldap-sync.sh /usr/local/bin/ldap-sync.sh # buildkit |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| RUN |8 BUILD_MAINTAINER=pi-farm BUILD_APP_NAME=base-image-alpine-rdp-ldap BUILD_APP_VERSION=vedge BUILD_COUNTRY=de BUILD_LANG=de_DE.UTF-8 BUILD_LANGUAGE=de_DE:de BUILD_LC_ALL=de_DE.UTF-8 BUILD_TZ=Europe/Berlin /bin/sh -c chmod 440 /etc/sudoers && chmod +x /usr/local/bin/authenticate_user.sh /usr/local/bin/ldap-sync.sh /etc/xrdp/startwm.sh /entrypoint.sh # buildkit |
| EXPOSE [3389/tcp] |
| CMD ["/entrypoint.sh"] |
Labels
| Key | Value |
|---|---|
| maintainer | pi-farm |
| org.opencontainers.image.title | base-image-alpine-rdp-ldap |
| org.opencontainers.image.version | vedge |
| pi_farm.args_hash | 1ca39c6242933e01922a74e706716722e9aa6327ea11e8098d787b11de75de96 |
| pi_farm.base_digest | sha256:9a341ff2287c54b86425cbee0141114d811ae69d88a36019087be6d896cef241 |