Team Ai
Apppublic

binary1ne/Jenkins

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes
Dockerfile21 linesDownload Raw Back to root
1FROM jenkins/jenkins:lts2 3# Set Jenkins to run on 0.0.0.0:78604ENV JENKINS_OPTS="--httpListenAddress=0.0.0.0 --httpPort=7860"5 6# Expose the new Jenkins port7EXPOSE 78608 9 10# # Optional: Disable the setup wizard (useful for automation)11# ENV JAVA_OPTS="-Djenkins.install.runSetupWizard=false"12 13# # Switch to root to install tools or modify system (optional)14# USER root15 16# # Example: Install extra tools (optional)17# # RUN apt-get update && apt-get install -y docker.io git18 19# # Switch back to jenkins user (required for Jenkins to run properly)20# USER jenkins21