Author SHA1 Message Date
Gitea Action 988330dcda [skip ci] 2026-10-10 09:38:01 +00:00
Gitea Action e78b05d79f [skip ci] 2026-10-10 02:14:16 +00:00
pi-farm 89aff65487 fix permissions for users-homeshares 2026-10-10 00:21:21 +00:00
pi-farm 46c78fd02b fix permissions for users-homeshares 2026-10-09 23:43:40 +00:00
pi-farm 928f361958 buildargs.env aktualisiert 2026-10-09 23:17:36 +00:00
pi-farm 6d9bb155dc buildargs.env aktualisiert 2026-10-09 23:15:10 +00:00
pi-farm bb2fae505b trixie-xfce 2026-10-09 23:09:14 +00:00
6 changed files with 17 additions and 18 deletions

No files matched your search

+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 && \ RUN sed -i '/%users/s/^/# /' /etc/sudoers && \
echo "sudoers: files sss" >> /etc/nsswitch.conf && \ 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 && \ RUN chmod 440 /etc/sudoers && \
mkdir -p /etc/sssd && chown root:root /etc/sssd && chmod 755 /etc/sssd && \ mkdir -p /etc/sssd && chown root:root /etc/sssd && chmod 755 /etc/sssd && \
+1 -5
View File
@@ -57,13 +57,9 @@ RUN sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/debian.s
dpkg-reconfigure -f noninteractive keyboard-configuration && \ 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 && \ RUN sed -i '/%users/s/^/# /' /etc/sudoers && \
echo "sudoers: files sss" >> /etc/nsswitch.conf && \ 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 && \ RUN chmod 440 /etc/sudoers && \
mkdir -p /etc/sssd && chown root:root /etc/sssd && chmod 755 /etc/sssd && \ mkdir -p /etc/sssd && chown root:root /etc/sssd && chmod 755 /etc/sssd && \
+9 -6
View File
@@ -15,8 +15,8 @@ This repository is built and pushed automatically.
### 🏗️ Platform Support ### 🏗️ Platform Support
| Architecture | Status | Base Image | Build Date | | Architecture | Status | Base Image | Build Date |
| :--- | :--- | :--- | :--- | | :--- | :--- | :--- | :--- |
| x86_64 (amd64) | ✅ Active | debian:bookworm | 10.10.2026 00:57 | | x86_64 (amd64) | ✅ Active | debian:trixie | 10.10.2026 11:38 |
| aarch64 (arm64) | ✅ Active | debian:bookworm | 10.10.2026 00:57 | | aarch64 (arm64) | ✅ Active | debian:trixie | 10.10.2026 11:38 |
--- ---
@@ -26,7 +26,7 @@ This repository is built and pushed automatically.
```yaml ```yaml
services: services:
base-image-debian-rdp-ldap: base-image-debian-rdp-ldap:
image: git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:bookworm-de image: git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:trixie-xfce-de
container_name: base-image-debian-rdp-ldap container_name: base-image-debian-rdp-ldap
restart: unless-stopped restart: unless-stopped
ports: ports:
@@ -58,7 +58,7 @@ docker compose up -d
## 🐳 Method 2: Standalone Container (Docker Run / CLI) ## 🐳 Method 2: Standalone Container (Docker Run / CLI)
### 🚀 1. Pull the image manually ### 🚀 1. Pull the image manually
```bash ```bash
docker pull git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:bookworm-de docker pull git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:trixie-xfce-de
``` ```
### 🚀 2. Run the container directly ### 🚀 2. Run the container directly
```bash ```bash
@@ -73,15 +73,18 @@ docker run -d \
-e LDAP_SUDO_GROUP=YOUR-SUDO-USERS-GROUP \ -e LDAP_SUDO_GROUP=YOUR-SUDO-USERS-GROUP \
-v ./YOUR-PERSISTENT-FOLDER:/home \ -v ./YOUR-PERSISTENT-FOLDER:/home \
-p 3389:3389 \ -p 3389:3389 \
git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:bookworm-de git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:trixie-xfce-de
``` ```
*Last updated on: 10.10.2026 00:57* *Last updated on: 10.10.2026 11:38*
### 📜 Version History ### 📜 Version History
| Version | Date | Status | | Version | Date | Status |
| :--- | :--- | :--- | | :--- | :--- | :--- |
| **trixie-xfce-de** | 10.10.2026 11:38 | ✅ |
| **trixie-xfce-de** | 10.10.2026 04:14 | ✅ |
| **bookworm-de** | 10.10.2026 01:08 | ✅ |
| **bookworm-de** | 10.10.2026 00:57 | ✅ | | **bookworm-de** | 10.10.2026 00:57 | ✅ |
| **bookworm-de** | 08.10.2026 23:33 | ✅ | | **bookworm-de** | 08.10.2026 23:33 | ✅ |
| **trixie-de** | 08.10.2026 22:50 | ✅ | | **trixie-de** | 08.10.2026 22:50 | ✅ |
+3
View File
@@ -1,3 +1,6 @@
| **trixie-xfce-de** | 10.10.2026 11:38 | ✅ |
| **trixie-xfce-de** | 10.10.2026 04:14 | ✅ |
| **bookworm-de** | 10.10.2026 01:08 | ✅ |
| **bookworm-de** | 10.10.2026 00:57 | ✅ | | **bookworm-de** | 10.10.2026 00:57 | ✅ |
| **bookworm-de** | 08.10.2026 23:33 | ✅ | | **bookworm-de** | 08.10.2026 23:33 | ✅ |
| **trixie-de** | 08.10.2026 22:50 | ✅ | | **trixie-de** | 08.10.2026 22:50 | ✅ |
+2 -5
View File
@@ -1,10 +1,10 @@
## BASE CONFIG ## BASE CONFIG
DEBIAN_CODENAME=bookworm DEBIAN_CODENAME=trixie
BUILD_COUNTRY=de BUILD_COUNTRY=de
## BUILD STAGE ## BUILD STAGE
BUILD_BASE_IMAGE="debian:${DEBIAN_CODENAME}" BUILD_BASE_IMAGE="debian:${DEBIAN_CODENAME}"
BUILD_TAG="${DEBIAN_CODENAME}-${BUILD_COUNTRY}" BUILD_TAG="${DEBIAN_CODENAME}-xfce-${BUILD_COUNTRY}"
BUILD_TAG_LATEST=n BUILD_TAG_LATEST=n
BUILD_LANG=de_DE.UTF-8 BUILD_LANG=de_DE.UTF-8
BUILD_LANGUAGE=de_DE:de BUILD_LANGUAGE=de_DE:de
@@ -15,9 +15,6 @@ BUILD_APP_NAME=base-image-debian-rdp-ldap
BUILD_APP_VERSION=1.0.0 BUILD_APP_VERSION=1.0.0
PUSH=dockerhub PUSH=dockerhub
## BASE PACKAGES
BUILD_BASE_PACKAGES="xrdp sssd sssd-tools libpam-sss libnss-sss libsss-sudo ldap-utils ca-certificates dbus-x11 xfce4 xfce4-terminal sudo firefox-esr firefox-esr-l10n-${BUILD_COUNTRY} thunderbird thunderbird-l10n-${BUILD_COUNTRY} locales tzdata keyboard-configuration x11-xkb-utils pulseaudio build-essential dpkg-dev git libpulse-dev meson ninja-build pkg-config autoconf libtool thunar-archive-plugin xarchiver unzip zip p7zip-full tar gzip bzip2 dialog whiptail"
## ENV STAGE ## ENV STAGE
ENV_SSSD_DEBUG_LEVEL=5 ENV_SSSD_DEBUG_LEVEL=5
ENV_LDAP_URI=ldap://YOUR-LDAP-SERVER:389 ENV_LDAP_URI=ldap://YOUR-LDAP-SERVER:389
+1 -1
View File
@@ -1,6 +1,6 @@
services: services:
base-image-debian-rdp-ldap: base-image-debian-rdp-ldap:
image: git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:bookworm-de image: git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:trixie-xfce-de
container_name: base-image-debian-rdp-ldap container_name: base-image-debian-rdp-ldap
restart: unless-stopped restart: unless-stopped
ports: ports: