Merge pull request #1 from jmccann/install_klar

Updated Dockerfile to ADD klar binary
This commit is contained in:
Unikorn123 2016-12-29 14:32:14 -06:00 committed by GitHub
commit 6464a6e96e
2 changed files with 4 additions and 1 deletions

2
.gitignore vendored
View File

@ -24,4 +24,4 @@ _testmain.go
*.prof
coverage.out
drone-hipchat
drone-clair

View File

@ -11,5 +11,8 @@ RUN apk update && \
ca-certificates && \
rm -rf /var/cache/apk/*
ADD https://github.com/optiopay/klar/releases/download/v1.1/klar-1.1-linux-amd64 /usr/local/bin/klar
RUN chmod 0755 /usr/local/bin/klar
ADD drone-clair /bin/
ENTRYPOINT ["/bin/drone-clair"]