Commit Graph

18 Commits

Author SHA1 Message Date
Jean Michel MacKay
9df4f5bd70 Adding httputil and version packages
- Debian/RHEL/Oracle vulnsrc now use httputil to download files
- httputil sets the User-Agent to the requests as Clair/<version> (https://github.com/coreos/clair/)
- httputil holds Status2xx() which returns if the response is a http success (2xx)
- GetClientAddr moved from api/httputil to pkg/httputil
- the version packge holds a Version string which is set at build time from the git tag and sha
- the .git directory was removed from .dockerignore so that we can use the git tag to set the version
2018-09-05 14:56:39 -04:00
921ba54152
use multi-stage build 2018-07-14 15:49:07 +02:00
Jimmy Zelinskie
5caa821c80 *: remove bzr dependency 2018-07-10 16:46:46 -04:00
usr42
db5dbbe4e9 Upgrade to golang:1.10-alpine 2018-04-24 16:14:57 +02:00
Ben Sebastian
36917c84ec Use apk to install dumb-init instead of curl, modify entrypoint 2017-10-13 14:00:58 -04:00
Ben Sebastian
d60993c025 Add dumb-init to Entrypoint 2017-10-13 12:11:54 -04:00
Ben Sebastian
57e8fdeb10 Add dumb-init to Entrypoint 2017-10-13 12:10:37 -04:00
supereagle
3f78744bcc remove MAINTAINER from Dockerfile 2017-02-28 13:41:09 +08:00
Quentin Machu
df4f277d0e
Dockerfile: use alpine linux 3.5 (bis) 2017-02-22 12:21:18 -08:00
Quentin Machu
4721e92b17
Dockerfile: use alpine linux 3.5 2017-02-22 11:46:44 -08:00
Jimmy Zelinskie
c1e0f618ca dockerfile: add git dependency 2016-12-19 11:32:45 -05:00
Jimmy Zelinskie
8918f40599 dockerfile: update deps and move to Go 1.6 2016-03-18 16:26:06 -04:00
Quentin Machu
6b23520710 Dockerfile: remove useless volume 2016-02-24 16:39:25 -05:00
Quentin Machu
8f7e658574 *: remove tests from docker file 2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
ea193d3ae7 dockerfile: syntax updates and s/xz/xz-utils
This fixes the automated build on Quay.io.
2016-01-19 13:35:27 -05:00
Liang Chenye
41509ccd3e add imageFormt to API.md; add xz to Dockerfile; fix bugs
Signed-off-by: Liang Chenye <liangchenye@huawei.com>
2015-12-15 20:29:53 -08:00
Quentin Machu
eb7e5d5c74 main: Use configuration file instead of flags and simplify app extension.
Clair will now use a YAML configuration file instead of command line
arguments as the number of parameters grows.

Also, Clair now exposes a Boot() func that allows everyone to easily
create their own project and load dynamically their own fetchers/updaters.
2015-12-08 11:50:52 -05:00
Quentin Machu
3ec262dd51 Initial commit 2015-11-13 14:11:28 -05:00