Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cflarios/docker-inside-docker-jenkins
Dockerfile and docker compose for custom Jenkins container
https://github.com/cflarios/docker-inside-docker-jenkins
docker docker-compose jenkins
Last synced: 3 days ago
JSON representation
Dockerfile and docker compose for custom Jenkins container
- Host: GitHub
- URL: https://github.com/cflarios/docker-inside-docker-jenkins
- Owner: cflarios
- Created: 2023-01-04T02:00:51.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-26T18:21:50.000Z (7 months ago)
- Last Synced: 2024-06-26T22:57:53.266Z (7 months ago)
- Topics: docker, docker-compose, jenkins
- Language: Dockerfile
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Custom docker image for jenkins
Do you need running Docker in a Jenkins Container?
Well, this image is for a jenkins container with docker inside (docker-compose as well), for those projects with docker.
**NOTE**: Although docker-compose version 1.28.3 is specified, version 1.25.3 is installed. At the moment the only solution
I have is to perform the following command inside the Jenkins container:```
curl -L "https://github.com/docker/compose/releases/download/1.28.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
```
By the way, if you don't remember how to enter the container command line, you can do it like this:```
docker-compose exec jenkins bash
```