diff --git a/Dockerfile b/Dockerfile index 86ea9c3..6c6094d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:22.04 USER root -RUN apt-get update -y && apt-get install -y --no-install-recommends make ca-certificates openssl gcc build-essential musl-dev git docker-compose +RUN apt-get update -y && apt-get install -y --no-install-recommends make ca-certificates openssl gcc build-essential musl-dev git docker-compose docker COPY files/go1.18.6.linux-amd64.tar.gz go1.18.6.linux-amd64.tar.gz @@ -23,3 +23,5 @@ ENV PATH $PATH:/usr/local/go/bin RUN groupadd -r -g 116 jenkins RUN useradd -r -u 111 -g 116 -d /var/lib/jenkins -M -N jenkins + +RUN usermod -aG docker jenkins