📅  最后修改于: 2022-03-11 14:58:31.998000             🧑  作者: Mango
ARG DOCKER_GID=993
#setup host docker group UID to jenkins docker group UID
RUN groupadd -g ${DOCKER_GID} docker \
&& curl -sSL https://get.docker.com/ | sh \
&& apt-get -q autoremove \
&& apt-get -q clean -y \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/*.bin
RUN usermod -aG docker jenkins