mirror of
https://github.com/luzifer-docker/jenkins.git
synced 2024-11-09 00:50:01 +00:00
Knut Ahlers
65f6471028
- Move installation code to build.sh - Add Jenkins to `docker` group to enable access to docker.sock - Fix installing Docker for wrong Debian version - From now on use automated detection of Debian version - Install fewer packages by now installing recommends - Do a proper cleanup of helper packages and apt lists - Use sudoers.d instead of appending to sudoers Signed-off-by: Knut Ahlers <knut@ahlers.me>
7 lines
120 B
Docker
7 lines
120 B
Docker
FROM jenkins/jenkins:2.107.1
|
|
USER root
|
|
|
|
COPY build.sh /usr/local/bin/build.sh
|
|
RUN /usr/local/bin/build.sh
|
|
|
|
USER jenkins
|