Files
dockerfiles/cgit
Liu, Jianjun 5f925c32f9 make cgit inherits the httpd's clearlinux version
clearlinux/cgit is based on clearlinux/httpd, so it's better
to build it based on clearlinux/httpd's clearlinux version,
to avoid the dependenc that both clearlinux/os-core and
clearlinux/httpd must be the same version. Also to reduce
the container size further.

Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
2019-07-21 11:45:21 -07:00
..
2019-04-16 01:46:21 -07:00
2019-04-16 01:46:21 -07:00

cgit

========== This provides a Clear Linux* cgit service

Build

docker build -t clearlinux/cgit .

Or just pull it from Dockerhub

docker pull clearlinux/cgit

Start cgit Container

docker run -p 80:80 -v <git repo path>:/var/www/cgit clearlinux/cgit

Extra Build ARGs

  • swupd_args Specifies SWUPD flags

Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg