UNCLASSIFIED

README.md 1.09 KB
Newer Older
sean.melissari's avatar
sean.melissari committed
1
# gitlab-shell-container
Joshua Eason's avatar
Joshua Eason committed
2

sean.melissari's avatar
sean.melissari committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
SSH access and repository management app for GitLab.

## GitLab Build

The hardened containers for GitLab require the gitlab correctly version assets blob to be available for download.

There are some included scripts to make this easier for user building images offline on their machine.


## Building

1. Switch to the desired versioned directory
2. Run `./build-scripts/build.sh`
   * Runs docker build, and takes care of setting the appropriate build args for users running locally


`build-script/build.sh` is provided as an example and helpful for building locally. You can also instead call docker build and pass build-args directly.

## Build Phases

Some of the GitLab containers are build ontop of previous containers, building the containers in ordered phases is necessary to build all containers.

- Phase One
  * kubectl
  * gitlab-ruby
  * gitlab-container-registry
- Phase Two
  * git-base
  * gitlab-exporter
  * gitlab-mailroom
  * gitlab-shell
  * gitlab-rails
  * gitlab-workhorse
- Phase 3
  * gitaly
- Phase 4
  * gitlab-sidekiq
  * gitlab-task-runner
  * gitlab-webservice