add docker group with same id as host/add rootless to group
This commit is contained in:
parent
d6ca833927
commit
ecf1ab5376
|
@ -8,7 +8,10 @@ RUN true && \
|
||||||
if [ $apkArch = "x86_64" ]; then apkArch=amd64; fi && \
|
if [ $apkArch = "x86_64" ]; then apkArch=amd64; fi && \
|
||||||
curl -sLO https://github.com/sigstore/rekor/releases/download/v1.0.1/rekor-cli-linux-${apkArch} && \
|
curl -sLO https://github.com/sigstore/rekor/releases/download/v1.0.1/rekor-cli-linux-${apkArch} && \
|
||||||
mv rekor-cli-linux-${apkArch} /usr/bin/rekor && \
|
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 /
|
COPY entrypoint.sh /
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user