Skip to content

Commit 03ce8ab

Browse files
authored
feat(docker-compose): Add digest pinning for busybox (#13025)
1 parent aa5442c commit 03ce8ab

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

docker-compose.override.unit_tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
services:
33
nginx:
4-
image: busybox:1.37.0-musl
4+
image: busybox:1.37.0-musl@sha256:254e6134b1bf813b34e920bc4235864a54079057d51ae6db9a4f2328f261c2ad
55
entrypoint: ['echo', 'skipping', 'nginx']
66
volumes:
77
- defectdojo_media_unit_tests:/usr/share/nginx/html/media
@@ -31,13 +31,13 @@ services:
3131
DD_CELERY_BROKER_PARAMS: ''
3232
DD_JIRA_EXTRA_ISSUE_TYPES: 'Vulnerability' # Shouldn't trigger a migration error
3333
celerybeat:
34-
image: busybox:1.37.0-musl
34+
image: busybox:1.37.0-musl@sha256:254e6134b1bf813b34e920bc4235864a54079057d51ae6db9a4f2328f261c2ad
3535
entrypoint: ['echo', 'skipping', 'celery beat']
3636
celeryworker:
37-
image: busybox:1.37.0-musl
37+
image: busybox:1.37.0-musl@sha256:254e6134b1bf813b34e920bc4235864a54079057d51ae6db9a4f2328f261c2ad
3838
entrypoint: ['echo', 'skipping', 'celery worker']
3939
initializer:
40-
image: busybox:1.37.0-musl
40+
image: busybox:1.37.0-musl@sha256:254e6134b1bf813b34e920bc4235864a54079057d51ae6db9a4f2328f261c2ad
4141
entrypoint: ['echo', 'skipping', 'initializer']
4242
postgres:
4343
ports:
@@ -50,7 +50,7 @@ services:
5050
volumes:
5151
- defectdojo_postgres_unit_tests:/var/lib/postgresql/data
5252
redis:
53-
image: busybox:1.37.0-musl
53+
image: busybox:1.37.0-musl@sha256:254e6134b1bf813b34e920bc4235864a54079057d51ae6db9a4f2328f261c2ad
5454
entrypoint: ['echo', 'skipping', 'redis']
5555
"webhook.endpoint":
5656
image: mccutchen/go-httpbin:2.18.3@sha256:3992f3763e9ce5a4307eae0a869a78b4df3931dc8feba74ab823dd2444af6a6b

docker-compose.override.unit_tests_cicd.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
services:
33
nginx:
4-
image: busybox:1.37.0-musl
4+
image: busybox:1.37.0-musl@sha256:254e6134b1bf813b34e920bc4235864a54079057d51ae6db9a4f2328f261c2ad@sha256:254e6134b1bf813b34e920bc4235864a54079057d51ae6db9a4f2328f261c2ad
55
entrypoint: ['echo', 'skipping', 'nginx']
66
volumes:
77
- defectdojo_media_unit_tests:/usr/share/nginx/html/media
@@ -30,13 +30,13 @@ services:
3030
DD_CELERY_BROKER_PARAMS: ''
3131
DD_JIRA_EXTRA_ISSUE_TYPES: 'Vulnerability' # Shouldn't trigger a migration error
3232
celerybeat:
33-
image: busybox:1.37.0-musl
33+
image: busybox:1.37.0-musl@sha256:254e6134b1bf813b34e920bc4235864a54079057d51ae6db9a4f2328f261c2ad
3434
entrypoint: ['echo', 'skipping', 'celery beat']
3535
celeryworker:
36-
image: busybox:1.37.0-musl
36+
image: busybox:1.37.0-musl@sha256:254e6134b1bf813b34e920bc4235864a54079057d51ae6db9a4f2328f261c2ad
3737
entrypoint: ['echo', 'skipping', 'celery worker']
3838
initializer:
39-
image: busybox:1.37.0-musl
39+
image: busybox:1.37.0-musl@sha256:254e6134b1bf813b34e920bc4235864a54079057d51ae6db9a4f2328f261c2ad
4040
entrypoint: ['echo', 'skipping', 'initializer']
4141
postgres:
4242
ports:
@@ -49,7 +49,7 @@ services:
4949
volumes:
5050
- defectdojo_postgres_unit_tests:/var/lib/postgresql/data
5151
redis:
52-
image: busybox:1.37.0-musl
52+
image: busybox:1.37.0-musl@sha256:254e6134b1bf813b34e920bc4235864a54079057d51ae6db9a4f2328f261c2ad
5353
entrypoint: ['echo', 'skipping', 'redis']
5454
"webhook.endpoint":
5555
image: mccutchen/go-httpbin:2.18.3@sha256:3992f3763e9ce5a4307eae0a869a78b4df3931dc8feba74ab823dd2444af6a6b

0 commit comments

Comments
 (0)