通过创建用户组来解决权限问题。

This commit is contained in:
LamGC 2023-03-19 02:02:54 +08:00
parent a28a43da08
commit 7a008d07f3
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D

View File

@ -4,6 +4,8 @@ FROM jenkins/inbound-agent:${BASE_TAG}
USER root
RUN groupadd -g 987 docker && usermod -aG docker jenkins
RUN apt-get update && apt-get install -y \
ca-certificates \
curl \