reg/Dockerfile.clair
Jess Frazelle 73712bf067
add clair integration tests
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-12 10:04:35 -04:00

12 lines
450 B
Docker

FROM quay.io/coreos/clair
RUN apk add --no-cache \
ca-certificates
COPY testutils/snakeoil/cert.pem /usr/local/share/ca-certificates/clair.pem
# normally we'd use update-ca-certificates, but something about running it in
# Alpine is off, and the certs don't get added. Fortunately, we only need to
# add ca-certificates to the global store and it's all plain text.
RUN cat /usr/local/share/ca-certificates/* >> /etc/ssl/certs/ca-certificates.crt