mirror of
https://github.com/anchore/grype
synced 2024-11-10 06:34:13 +00:00
34 lines
613 B
YAML
34 lines
613 B
YAML
version: "3.8"
|
|
services:
|
|
docker:
|
|
image: docker:dind
|
|
privileged: true
|
|
environment:
|
|
DOCKER_TLS_CERTDIR: /certs
|
|
networks:
|
|
- docker
|
|
volumes:
|
|
- docker-certs-ca:/certs
|
|
- docker-certs-client:/certs/client
|
|
grype:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.dev
|
|
volumes:
|
|
- .:/grype
|
|
- docker-certs-client:/certs/client:ro
|
|
stdin_open: true
|
|
restart: always
|
|
environment:
|
|
DOCKER_TLS_CERTDIR: /certs
|
|
networks:
|
|
- docker
|
|
depends_on:
|
|
- docker
|
|
|
|
volumes:
|
|
docker-certs-ca:
|
|
docker-certs-client:
|
|
|
|
networks:
|
|
docker:
|