diff --git a/Dockerfile b/Dockerfile index cc05c0f..df67e8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,8 @@ RUN groupadd -g 281 docker RUN usermod -aG docker jenkins # Install tea -RUN apk add --no-cache tea +RUN git clone https://gitea.com/gitea/tea.git +RUN cd tea && make && make install COPY --chown=jenkins:jenkins executors.groovy /usr/share/jenkins/ref/init.groovy.d/executors.groovy diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 1b096d7..4407025 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -5,8 +5,7 @@ RUN addgroup --gid 281 docker RUN addgroup jenkins docker # Install tea -RUN git clone https://gitea.com/gitea/tea.git -RUN cd tea && make && make install +RUN apk add --no-cache tea COPY --chown=jenkins:jenkins executors.groovy /usr/share/jenkins/ref/init.groovy.d/executors.groovy