Updated Dockerfile to ADD klar binary

This commit is contained in:
Jacob McCann 2016-12-29 14:29:45 -06:00
parent c51927445b
commit 1269420f9b
2 changed files with 4 additions and 1 deletions

2
.gitignore vendored
View File

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

View File

@ -11,5 +11,8 @@ RUN apk update && \
ca-certificates && \ ca-certificates && \
rm -rf /var/cache/apk/* 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/ ADD drone-clair /bin/
ENTRYPOINT ["/bin/drone-clair"] ENTRYPOINT ["/bin/drone-clair"]