Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f360ee3fe6 | ||
|
|
988330dcda | ||
|
|
e78b05d79f | ||
|
|
89aff65487 | ||
|
|
46c78fd02b | ||
|
|
928f361958 | ||
|
|
6d9bb155dc | ||
|
|
bb2fae505b |
No files matched your search
+1
-1
@@ -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 && \
|
||||
|
||||
+1
-5
@@ -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 && \
|
||||
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 && \
|
||||
|
||||
@@ -15,8 +15,8 @@ This repository is built and pushed automatically.
|
||||
### 🏗️ Platform Support
|
||||
| Architecture | Status | Base Image | Build Date |
|
||||
| :--- | :--- | :--- | :--- |
|
||||
| x86_64 (amd64) | ✅ Active | debian:bookworm | 10.10.2026 00:57 |
|
||||
| aarch64 (arm64) | ✅ Active | debian:bookworm | 10.10.2026 00:57 |
|
||||
| x86_64 (amd64) | ✅ Active | debian:trixie | 10.10.2026 11:38 |
|
||||
| aarch64 (arm64) | ✅ Active | debian:trixie | 10.10.2026 11:38 |
|
||||
|
||||
---
|
||||
|
||||
@@ -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:bookworm-de
|
||||
image: git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:trixie-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:bookworm-de
|
||||
docker pull git.pi-farm.de/pi-farm/base-image-debian-rdp-ldap:trixie-xfce-de
|
||||
```
|
||||
### 🚀 2. Run the container directly
|
||||
```bash
|
||||
@@ -73,15 +73,18 @@ 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: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 | 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** | 08.10.2026 23:33 | ✅ |
|
||||
| **trixie-de** | 08.10.2026 22:50 | ✅ |
|
||||
+1
-3
@@ -1,3 +1 @@
|
||||
| **bookworm-de** | 10.10.2026 00:57 | ✅ |
|
||||
| **bookworm-de** | 08.10.2026 23:33 | ✅ |
|
||||
| **trixie-de** | 08.10.2026 22:50 | ✅ |
|
||||
|
||||
+2
-5
@@ -1,10 +1,10 @@
|
||||
## BASE CONFIG
|
||||
DEBIAN_CODENAME=bookworm
|
||||
DEBIAN_CODENAME=trixie
|
||||
BUILD_COUNTRY=de
|
||||
|
||||
## BUILD STAGE
|
||||
BUILD_BASE_IMAGE="debian:${DEBIAN_CODENAME}"
|
||||
BUILD_TAG="${DEBIAN_CODENAME}-${BUILD_COUNTRY}"
|
||||
BUILD_TAG="${DEBIAN_CODENAME}-xfce-${BUILD_COUNTRY}"
|
||||
BUILD_TAG_LATEST=n
|
||||
BUILD_LANG=de_DE.UTF-8
|
||||
BUILD_LANGUAGE=de_DE:de
|
||||
@@ -15,9 +15,6 @@ BUILD_APP_NAME=base-image-debian-rdp-ldap
|
||||
BUILD_APP_VERSION=1.0.0
|
||||
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_SSSD_DEBUG_LEVEL=5
|
||||
ENV_LDAP_URI=ldap://YOUR-LDAP-SERVER:389
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
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
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
|
||||
Reference in new issue
Block a user