Download Dockerfile from binary1ne/Jenkins: direct link, hf CLI and curl.
- Browser
- Download file 559 Bytes
-
https://huggingface.co/spaces/binary1ne/Jenkins/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/binary1ne/Jenkins/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/binary1ne/Jenkins/resolve/main/Dockerfile
559 Bytes
| FROM jenkins/jenkins:lts | |
| # Set Jenkins to run on 0.0.0.0:7860 | |
| ENV JENKINS_OPTS="--httpListenAddress=0.0.0.0 --httpPort=7860" | |
| # Expose the new Jenkins port | |
| EXPOSE 7860 | |
| # # Optional: Disable the setup wizard (useful for automation) | |
| # ENV JAVA_OPTS="-Djenkins.install.runSetupWizard=false" | |
| # # Switch to root to install tools or modify system (optional) | |
| # USER root | |
| # # Example: Install extra tools (optional) | |
| # # RUN apt-get update && apt-get install -y docker.io git | |
| # # Switch back to jenkins user (required for Jenkins to run properly) | |
| # USER jenkins | |