drone-clair/Dockerfile

19 lines
462 B
Docker
Raw Permalink Normal View History

2016-12-29 20:20:52 +00:00
# Docker image for the Drone clair plugin
#
2017-01-15 03:13:49 +00:00
# cd $GOPATH/src/github.com/jmccann/drone-clair
2016-12-29 20:20:52 +00:00
# go build
2017-01-15 03:13:49 +00:00
# docker build --rm=true -t jmccann/drone-clair .
2016-12-29 20:20:52 +00:00
2018-07-11 08:54:40 +00:00
FROM alpine:3.8
2016-12-29 20:20:52 +00:00
RUN apk update && \
apk add \
ca-certificates && \
rm -rf /var/cache/apk/*
2018-07-11 08:54:40 +00:00
ADD https://github.com/optiopay/klar/releases/download/v2.2.0/klar-2.2.0-linux-amd64 /usr/local/bin/klar
2016-12-29 20:29:45 +00:00
RUN chmod 0755 /usr/local/bin/klar
2016-12-29 20:20:52 +00:00
ADD drone-clair /bin/
ENTRYPOINT ["/bin/drone-clair"]