16 Commits
Author SHA1 Message Date
Gitea Action 8742addf3d [skip ci] 2026-10-10 12:31:51 +00:00
pi-farm f0252a0b9b clean VERSION.history 2026-10-10 12:14:16 +00:00
Gitea Action 03f65c7695 [skip ci] 2026-10-10 09:54:36 +00:00
pi-farm f637e30fa2 fix permissions for users-homeshares 2026-10-10 00:19:20 +00:00
Gitea Action f004800174 [skip ci] 2026-10-10 00:02:06 +00:00
pi-farm baf11e3eed fix permissions for users-homeshares 2026-10-09 23:44:36 +00:00
Gitea Action 7af58a2738 [skip ci] 2026-10-09 23:19:27 +00:00
pi-farm dfa2e5a1ae buildargs.env aktualisiert 2026-10-09 23:18:13 +00:00
Gitea Action 22b8e68ca8 [skip ci] 2026-10-09 23:08:46 +00:00
pi-farm 3eb7ced4a2 add log-output of sssd and xrdp to docker-log 2026-10-09 23:07:10 +00:00
Gitea Action 529f3efe33 [skip ci] 2026-10-09 22:57:33 +00:00
Pi-Farm c28d77618f add .vscode/* to .gitignore 2026-10-08 23:47:41 +02:00
Gitea Action 3dfb797c7f [skip ci] 2026-10-08 21:33:12 +00:00
Pi-Farm 63e5f1a6b9 Merge branch 'dev' 2026-10-08 23:32:06 +02:00
Gitea Action 18ba516faf [skip ci] 2026-10-08 21:12:53 +00:00
pi-farm 315b832ef3 build bookworm 2026-10-08 20:57:39 +00:00
8 changed files with 35 additions and 21 deletions

No files matched your search

+2 -1
View File
@@ -11,4 +11,5 @@ Thumbs.db
config/*
!config/.gitkeep
home/*
!home/.gitkeep
!home/.gitkeep
.vscode/*
+1 -1
View File
@@ -59,7 +59,7 @@ RUN sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/debian.s
RUN sed -i '/%users/s/^/# /' /etc/sudoers && \
echo "sudoers: files sss" >> /etc/nsswitch.conf && \
echo "session required pam_mkhomedir.so skel=/etc/skel/ umask=0022" >> /etc/pam.d/common-session
echo "session required pam_mkhomedir.so skel=/etc/skel/ umask=0077" >> /etc/pam.d/common-session
RUN chmod 440 /etc/sudoers && \
mkdir -p /etc/sssd && chown root:root /etc/sssd && chmod 755 /etc/sssd && \
+2 -6
View File
@@ -55,15 +55,11 @@ RUN sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/debian.s
dpkg-reconfigure -f noninteractive tzdata && \
printf 'XKBMODEL="pc105"\nXKBLAYOUT="%s"\nXKBVARIANT=""\nXKBOPTIONS=""\nBACKSPACE="guess"\n' "${COUNTRY}" > /etc/default/keyboard && \
dpkg-reconfigure -f noninteractive keyboard-configuration && \
rm -rf /var/lib/apt/lists/* /tmp/packages.txt
rm -rf /var/lib/apt/lists/* /tmp/packages.txt
# NEU: Systemweite statische Konfigurationen für LDAP/PAM/Sudo
# 1. Entfernt die gefährliche %users Regel
# 2. Sagt nsswitch, dass Sudoers auch im SSS (LDAP) gesucht werden sollen
# 3. Aktiviert das automatische Erstellen von Home-Verzeichnissen (mkhomedir)
RUN sed -i '/%users/s/^/# /' /etc/sudoers && \
echo "sudoers: files sss" >> /etc/nsswitch.conf && \
echo "session required pam_mkhomedir.so skel=/etc/skel/ umask=0022" >> /etc/pam.d/common-session
echo "session required pam_mkhomedir.so skel=/etc/skel/ umask=0077" >> /etc/pam.d/common-session
RUN chmod 440 /etc/sudoers && \
mkdir -p /etc/sssd && chown root:root /etc/sssd && chmod 755 /etc/sssd && \
+7 -7
View File
@@ -15,8 +15,8 @@ This repository is built and pushed automatically.
### 🏗️ Platform Support
| Architecture | Status | Base Image | Build Date |
| :--- | :--- | :--- | :--- |
| x86_64 (amd64) | ✅ Active | debian:trixie | 08.10.2026 22:50 |
| aarch64 (arm64) | ✅ Active | debian:trixie | 08.10.2026 22:50 |
| x86_64 (amd64) | ✅ Active | debian:bookworm | 10.10.2026 14:31 |
| aarch64 (arm64) | ✅ Active | debian:bookworm | 10.10.2026 14:31 |
---
@@ -26,7 +26,7 @@ This repository is built and pushed automatically.
```yaml
services:
base-image-debian-rdp-ldap:
image: git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:trixie-de
image: git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:bookworm-xfce-de
container_name: base-image-debian-rdp-ldap
restart: unless-stopped
ports:
@@ -58,7 +58,7 @@ docker compose up -d
## 🐳 Method 2: Standalone Container (Docker Run / CLI)
### 🚀 1. Pull the image manually
```bash
docker pull git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:trixie-de
docker pull git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:bookworm-xfce-de
```
### 🚀 2. Run the container directly
```bash
@@ -73,13 +73,13 @@ docker run -d \
-e LDAP_SUDO_GROUP=YOUR-SUDO-USERS-GROUP \
-v ./YOUR-PERSISTENT-FOLDER:/home \
-p 3389:3389 \
git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:trixie-de
git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:bookworm-xfce-de
```
*Last updated on: 08.10.2026 22:50*
*Last updated on: 10.10.2026 14:31*
### 📜 Version History
| Version | Date | Status |
| :--- | :--- | :--- |
| **trixie-de** | 08.10.2026 22:50 | ✅ |
| **bookworm-xfce-de** | 10.10.2026 14:31 | ✅ |
+1 -1
View File
@@ -1 +1 @@
| **trixie-de** | 08.10.2026 22:50 | ✅ |
| **bookworm-xfce-de** | 10.10.2026 14:31 | ✅ |
+3 -3
View File
@@ -1,11 +1,11 @@
## BASE CONFIG
DEBIAN_CODENAME=trixie
DEBIAN_CODENAME=bookworm
BUILD_COUNTRY=de
## BUILD STAGE
BUILD_BASE_IMAGE="debian:${DEBIAN_CODENAME}"
BUILD_TAG="${DEBIAN_CODENAME}-${BUILD_COUNTRY}"
BUILD_TAG_LATEST=y
BUILD_TAG="${DEBIAN_CODENAME}-xfce-${BUILD_COUNTRY}"
BUILD_TAG_LATEST=n
BUILD_LANG=de_DE.UTF-8
BUILD_LANGUAGE=de_DE:de
BUILD_LC_ALL=de_DE.UTF-8
+1 -1
View File
@@ -1,6 +1,6 @@
services:
base-image-debian-rdp-ldap:
image: git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:trixie-de
image: git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:bookworm-xfce-de
container_name: base-image-debian-rdp-ldap
restart: unless-stopped
ports:
+18 -1
View File
@@ -65,4 +65,21 @@ sssd -D --debug-level=${SSSD_DEBUG}
echo ">>> Starte XRDP..."
xrdp-sesman
exec xrdp -n
xrdp
echo ">>> Leite Logs an Docker weiter..."
mkdir -p /var/log/sssd /var/log/xrdp
touch /var/log/xrdp.log \
/var/log/xrdp-sesman.log \
/var/log/sssd/sssd.log \
/var/log/sssd/sssd_LDAP.log \
/var/log/sssd/sssd_nss.log \
/var/log/sssd/sssd_pam.log
exec tail -F /var/log/xrdp.log \
/var/log/xrdp-sesman.log \
/var/log/sssd/sssd.log \
/var/log/sssd/sssd_LDAP.log \
/var/log/sssd/sssd_nss.log \
/var/log/sssd/sssd_pam.log