https://github.com/saidsef/alpine-jenkins-dockerfile
Jenkins Blue Ocean Containerised With Plugins
https://github.com/saidsef/alpine-jenkins-dockerfile
cicd continuous-delivery continuous-integration devops gitops groovy hacktoberfest jenkins jenkins-pipeline kubernetes kubernetes-cicd kubernetes-jenkins pipelines-as-code
Last synced: about 2 months ago
JSON representation
Jenkins Blue Ocean Containerised With Plugins
- Host: GitHub
- URL: https://github.com/saidsef/alpine-jenkins-dockerfile
- Owner: saidsef
- License: mit
- Created: 2016-10-03T23:34:37.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2026-03-16T18:29:28.000Z (3 months ago)
- Last Synced: 2026-04-02T08:14:25.778Z (3 months ago)
- Topics: cicd, continuous-delivery, continuous-integration, devops, gitops, groovy, hacktoberfest, jenkins, jenkins-pipeline, kubernetes, kubernetes-cicd, kubernetes-jenkins, pipelines-as-code
- Language: Groovy
- Homepage:
- Size: 332 KB
- Stars: 8
- Watchers: 0
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Jenkins Docker Container [](#deploy-from-remote-repo) [](#deploy-from-remote-repo) [](#deploy-from-remote-repo)
Jenkins is used to automate development workflows, so you can focus on work that matters most. Jenkins is commonly used for:
- Building projects
- Running tests to detect bugs and other issues as soon as they are introduced
- Static code analysis
- Deployment
Execute repetitive tasks, save time, and optimize your development process with Jenkins.
## Plugin
- [Jenkins Plugins List](files/plugins.txt)
### Build and deploy locally
```bash
docker build -t docker.io/saidsef/alpine-jenkins-dockerfile:latest .
./scripts/run.sh
```
Once Jenkins is up and running go to [http://127.0.0.1:8080](http://127.0.0.1:8080)
### Deploy from remote repo
#### Locally
```bash
docker pull docker.io/saidsef/alpine-jenkins-dockerfile:latest
./scripts/run.sh
```
> Once Jenkins is up and running go to `http://localhost:8080`
#### Kubernetes
```bash
kubectl apply -k ./deployment
```
> Optional: Deploy to specific `namespace` via `--namespace`.
To login:
```bash
kubectl logs pod/ -f | grep 'created local'
```
Default admin password will be print in the log output via the groovy script - be **patient**, depending on the available resources startup might take a while!
Once the service has been successfully deployed, use the following command to access login screen:
```bash
kubectl port-forward 8080:8080
```
### Links
- [Job DSL API](https://jenkinsci.github.io/job-dsl-plugin/)
- [Example Jobs](https://github.com/jenkinsci/pipeline-examples)
## Source
Our latest and greatest source of Jenkins can be found on [GitHub]. Fork us!
## Contributing
We would :heart: you to contribute by making a [pull request](https://github.com/saidsef/alpine-jenkins-dockerfile/pulls).
Please read the official [Contribution Guide](./CONTRIBUTING.md) for more information on how you can contribute.
## Troubleshooting
If you encounter issues while starting or accessing Jenkins, here are some common troubleshooting steps:
### Unable to Access Jenkins at `http://127.0.0.1:8080` or `http://localhost:8080`
- Ensure the Docker container is running. You can verify this by running:
```bash
docker ps
```
Look for a container with the name or image `alpine-jenkins-dockerfile`.
- Check the container logs for any errors:
```bash
docker logs
```
Replace `` with the actual container ID from the `docker ps` output.
### Slow Startup
- Jenkins may take some time to initialize, especially on the first run. Be patient and monitor the logs for progress.
By following these steps, you should be able to resolve most common issues.