binary1ne commited on
Commit
227006f
·
verified ·
1 Parent(s): 54e0dbe

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use official Jenkins LTS image as base
2
+ FROM jenkins/jenkins:lts
3
+
4
+ # Optional: Disable the setup wizard (useful for automation)
5
+ ENV JAVA_OPTS="-Djenkins.install.runSetupWizard=false"
6
+
7
+ # Switch to root to install tools or modify system (optional)
8
+ USER root
9
+
10
+ # Example: Install extra tools (optional)
11
+ # RUN apt-get update && apt-get install -y docker.io git
12
+
13
+ # Switch back to jenkins user (required for Jenkins to run properly)
14
+ USER jenkins