This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
# Dockerfile
|
# Dockerfile
|
||||||
# Jenkins LTS as of 2023-05-03
|
# Jenkins LTS as of 2023-05-03
|
||||||
FROM docker.io/jenkinsci/jenkins:latest
|
FROM docker.io/jenkins/jenkins:2.500-jdk21
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
@@ -17,7 +17,7 @@ RUN echo "deb [arch=$(dpkg --print-architecture) \
|
|||||||
|
|
||||||
# Install the Docker community edition CLI
|
# Install the Docker community edition CLI
|
||||||
# Our docker run code specifies DOCKER_HOST so local Docker commands are executed on a remote Docker daemon
|
# Our docker run code specifies DOCKER_HOST so local Docker commands are executed on a remote Docker daemon
|
||||||
RUN apt-get update && apt-get install -y docker-ce-cli
|
# RUN apt-get update && apt-get install -y docker-ce-cli
|
||||||
|
|
||||||
USER jenkins
|
USER jenkins
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user