2022-06-14 17:02:48 +00:00
|
|
|
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: .
|
2022-07-20 20:52:05 +00:00
|
|
|
dockerfile: Dockerfile.dev
|
2022-06-14 17:02:48 +00:00
|
|
|
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:
|