| Giorgi Lekveishvili | 285ab62 | 2023-11-22 13:50:45 +0400 | [diff] [blame] | 1 | # Gerrit base image |
| 2 | |
| 3 | Gerrit base image for Gerrit and Gerrit replica images. |
| 4 | It is only used in the build process and not published on Dockerhub. |
| 5 | |
| 6 | ## Content |
| 7 | |
| 8 | * base image |
| 9 | * curl |
| 10 | * openssh-keygen |
| 11 | * OpenJDK 11 |
| 12 | * gerrit.war |
| 13 | |
| 14 | ## Setup and configuration |
| 15 | |
| 16 | * install package dependencies |
| 17 | * create base folders for gerrit binary and gerrit configuration |
| 18 | * download gerrit.war from provided URL |
| 19 | * prepare filesystem permissions for gerrit user |
| 20 | * open ports for incoming traffic |
| 21 | * initialize default Gerrit site |
| 22 | |
| 23 | ## Start |
| 24 | |
| 25 | * starts the container via start script `/var/tools/start` |