Files
dockerfiles/cgit/README.md
T
Patrick McCarty d6864e5c91 Link to swupd-client repo for swupd option docs
This link should be more stable and always provide the latest
information about swupd command-line options.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2019-04-29 13:07:00 -07:00

28 lines
583 B
Markdown

# 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](https://github.com/clearlinux/swupd-client/blob/master/docs/swupd.1.rst#options) flags
Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg