|
1 | 1 | ## docker-local-build-environment |
2 | 2 |
|
3 | | -A local Build Environment with Jenkins full of plugins and sonar |
| 3 | +##### Tired of endless installation and configuration .... ?! |
| 4 | + |
| 5 | +My personal solution is a local Build Environment with Jenkins full of plugins and sonar; ready in 60sec. with a |
| 6 | +lokal, personal, continous build enviroment (maybe in future releses I just call it lpcbe). |
| 7 | + |
4 | 8 |
|
5 | 9 |
|
6 | 10 | Bring up your own build environment ... just do a |
7 | 11 | ``` |
8 | | - docker-compose build && docker-compose up |
| 12 | + https://github.com/Springjunky/docker-local-build-environment.git |
| 13 | + cd docker-local-build-environment |
| 14 | + docker-compose up -d |
| 15 | + docker-compose logs |
9 | 16 | ``` |
| 17 | +open your favorite browser (_not_ at localhost, use [http://<your-fq-hostname>] to prevent jenkins spit out "your reverse proxy is wrong") |
| 18 | +and cut and paste the jenkins first startup access-token. |
| 19 | + |
| 20 | +### Ready ! |
10 | 21 |
|
11 | | -and you are ready to go with a little CI Environment an Code-quality check. |
| 22 | +Now you are ready to go with a little CI Environment and Sonar code-quality check. |
12 | 23 |
|
13 | | -Jenins resides under http://<your-host-name>/jenkins |
| 24 | +Jenkins resides under http://<your-host-name>/jenkins |
14 | 25 | Sonar resides under http://<your-host-name>/sonar |
15 | 26 |
|
16 | 27 | After docker ist up you only have to configure your tools in Jenkins |
17 | 28 | .. |
18 | | - |
19 | | -And _yes_ docker-plugin in jenkins works (docker in docker) |
| 29 | +And _yes_ docker-plugin in jenkins works (docker in docker, usefull but not recommended) |
20 | 30 |
|
21 | 31 |
|
22 | 32 | ### My next steps |
23 | 33 |
|
24 | | -Pump up the Image with latest docker and ansible. |
| 34 | +* Pump up the Image with latest docker and ansible |
| 35 | +* move the personal DNS-Server outsite the docker-compose (ENV) |
| 36 | + |
0 commit comments