drone-clair/Dockerfile

19 lines
464 B
Docker
Raw Normal View History

2016-12-29 20:20:52 +00:00
# Docker image for the Drone clair plugin
#
# cd $GOPATH/src/github.com/Unikorn123/drone-clair
# go build
# docker build --rm=true -t Unikorn123/drone-clair .
FROM alpine:3.3
RUN apk update && \
apk add \
ca-certificates && \
rm -rf /var/cache/apk/*
2016-12-29 20:29:45 +00:00
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
2016-12-29 20:20:52 +00:00
ADD drone-clair /bin/
ENTRYPOINT ["/bin/drone-clair"]