Skip to content

Commit 5b9f712

Browse files
authored
Create docker_base_images
1 parent fb5b495 commit 5b9f712

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

views/docker_base_images

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
ID: docker_base_images
2+
Title: All Base Images
3+
Description: List of all Base Images across Dockerfiles in GitHub
4+
Query:
5+
Engine: CloudQL-v0.0.1
6+
QueryToExecute: |
7+
SELECT
8+
image,
9+
COUNT(*) AS dockerfile_count
10+
FROM (
11+
SELECT DISTINCT sha, jsonb_array_elements_text(images) AS image
12+
FROM github_artifact_dockerfile
13+
) AS expanded
14+
GROUP BY image
15+
ORDER BY dockerfile_count DESC;
16+
17+
Tags:

0 commit comments

Comments
 (0)