Files
dockerfiles/cgit
Qi Zheng 8a8844c3e6 Make the swupd update always be the layer two
To help analyze the container image size by layers, assume
each container image be comprised of:
Layer 1: clearlinux:latest
Layer 2: swupd update
Other layers: the container configurations

With this, we can continue to optimize layer size accordingly.

Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-05-21 08:46:05 +08: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