mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-06-29 17:17:05 +00:00
5f925c32f9
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>
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_argsSpecifies SWUPD flags
Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg