Repository: lldap/lldap (language: rust)

Issue:
[BUG] bootstrap.sh in rootless image
**Describe the bug**

bootstrap.sh does not work in rootless image as apk must be run as root to install curl/jq/jo

**To Reproduce**

Steps to reproduce the behavior:
1. Run container with latest-alpine-rootless tag
2. Execute bootstrap.sh inside container
3. See error about executable not found

```
Command not found "curl"
Command not found "jq"
Command not found "jo"
```

**Expected behavior**

bootstrap.sh should work with rootless image.

**Logs**

N/A

**Additional context**

One solution is to bundle required packages in the image though this will increase the image size for people not using bootstrap.sh.



Discussion / hints:
Yeah, I think we should install the packages by default.

Fix patch:
diff --git a/.github/workflows/Dockerfile.ci.alpine-base b/.github/workflows/Dockerfile.ci.alpine-base
index 204ebe0f..f1417f8f 100644
--- a/.github/workflows/Dockerfile.ci.alpine-base
+++ b/.github/workflows/Dockerfile.ci.alpine-base
@@ -64,7 +64,7 @@ WORKDIR /app
 ENV UID=1000
 ENV GID=1000
 ENV USER=lldap
-RUN apk add --no-cache tini ca-certificates bash tzdata && \
+RUN apk add --no-cache tini ca-certificates bash tzdata jq curl jo && \
     addgroup -g $GID $USER && \
     adduser \
     --disabled-password \
diff --git a/.github/workflows/Dockerfile.ci.debian-base b/.github/workflows/Dockerfile.ci.debian-base
index c9b04571..f39bd626 100644
--- a/.github/workflows/Dockerfile.ci.debian-base
+++ b/.github/workflows/Dockerfile.ci.debian-base
@@ -65,7 +65,7 @@ ENV UID=1000
 ENV GID=1000
 ENV USER=lldap
 RUN apt update && \
-    apt install -y --no-install-recommends tini openssl ca-certificates tzdata && \
+    apt install -y --no-install-recommends tini openssl ca-certificates tzdata jq curl jo && \
     apt clean && \
     rm -rf /var/lib/apt/lists/* && \
     groupadd -g $GID $USER && useradd --system -m -g $USER --uid $UID $USER && \


Test patch: