add docker group with same id as host/add rootless to group

This commit is contained in:
Emil Lerch 2023-03-27 21:23:13 -07:00
parent d6ca833927
commit ecf1ab5376
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -8,7 +8,10 @@ RUN true && \
if [ $apkArch = "x86_64" ]; then apkArch=amd64; fi && \
curl -sLO https://github.com/sigstore/rekor/releases/download/v1.0.1/rekor-cli-linux-${apkArch} && \
mv rekor-cli-linux-${apkArch} /usr/bin/rekor && \
chmod 755 /usr/bin/rekor
chmod 755 /usr/bin/rekor && \
addgroup -g 998 docker && \
addgroup rootless docker && \
true
COPY entrypoint.sh /