[PR #775] [MERGED] Rootless container #944

Closed
opened 2026-02-27 09:10:20 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lldap/lldap/pull/775
Author: @martadinata666
Created: 12/26/2023
Status: Merged
Merged: 12/28/2023
Merged by: @nitnelave

Base: mainHead: rootless-container


📝 Commits (3)

  • 1b9d094 Add rootless container build
  • 0142523 gosu on root image, add some comments for push dummy registry
  • 9b0f9fa ensure push to dummy registry

📊 Changes

8 files changed (+318 additions, -178 deletions)

View changed files

📝 .github/workflows/Dockerfile.ci.alpine (+5 -89)
.github/workflows/Dockerfile.ci.alpine-base (+84 -0)
.github/workflows/Dockerfile.ci.alpine-rootless (+3 -0)
📝 .github/workflows/Dockerfile.ci.debian (+31 -79)
.github/workflows/Dockerfile.ci.debian-base (+79 -0)
.github/workflows/Dockerfile.ci.debian-rootless (+3 -0)
📝 .github/workflows/docker-build-static.yml (+93 -10)
docker-entrypoint-rootless.sh (+20 -0)

📄 Description

Testing build for rootless container

  1. Add rootless entrypoint
  2. Add Dockerfile for rootless
  3. Add rootless meta
  4. Build rootless images

Run as user 1000 (a.k.a lldap) by default. Deployer will be responsible for permission setup, only check is config file exist?.

#755

Things to do

  • Temp base image. Local service registry route.
  • Rename docker-entry-point for rootless.
  • Add comments push behaviour on dummy registry
  • Gosu fetch from github and only on root image

Some resources:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lldap/lldap/pull/775 **Author:** [@martadinata666](https://github.com/martadinata666) **Created:** 12/26/2023 **Status:** ✅ Merged **Merged:** 12/28/2023 **Merged by:** [@nitnelave](https://github.com/nitnelave) **Base:** `main` ← **Head:** `rootless-container` --- ### 📝 Commits (3) - [`1b9d094`](https://github.com/lldap/lldap/commit/1b9d094e2e92c5842a2699e7781dcf3e4ea61bc4) Add rootless container build - [`0142523`](https://github.com/lldap/lldap/commit/01425235824a8e527a30b8c7e8b4e210dad0d6dd) gosu on root image, add some comments for push dummy registry - [`9b0f9fa`](https://github.com/lldap/lldap/commit/9b0f9fa2c4424483805d483d2fabd7de372abbb3) ensure push to dummy registry ### 📊 Changes **8 files changed** (+318 additions, -178 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/Dockerfile.ci.alpine` (+5 -89) ➕ `.github/workflows/Dockerfile.ci.alpine-base` (+84 -0) ➕ `.github/workflows/Dockerfile.ci.alpine-rootless` (+3 -0) 📝 `.github/workflows/Dockerfile.ci.debian` (+31 -79) ➕ `.github/workflows/Dockerfile.ci.debian-base` (+79 -0) ➕ `.github/workflows/Dockerfile.ci.debian-rootless` (+3 -0) 📝 `.github/workflows/docker-build-static.yml` (+93 -10) ➕ `docker-entrypoint-rootless.sh` (+20 -0) </details> ### 📄 Description Testing build for rootless container 1. Add rootless entrypoint 2. Add Dockerfile for rootless 3. Add rootless meta 4. Build rootless images Run as user 1000 (a.k.a lldap) by default. Deployer will be responsible for permission setup, only check `is config file exist?`. #755 Things to do - [x] Temp base image. Local service registry route. - [x] Rename docker-entry-point for rootless. - [x] Add comments push behaviour on dummy registry - [x] Gosu fetch from github and only on root image Some resources: * https://docs.docker.com/build/ci/github-actions/share-image-jobs/ * https://docs.docker.com/build/ci/github-actions/local-registry/ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 09:10:20 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#944
No description provided.