Compare commits

..

2 Commits

Author SHA1 Message Date
3wc
dce3933c9e Add challenge 6 2025-07-29 17:06:12 +01:00
3wc
c7db1c59ac Add challenge 5 2025-07-29 17:04:48 +01:00
4 changed files with 42 additions and 0 deletions

16
5/docker-compose.yml Normal file
View File

@ -0,0 +1,16 @@
---
# TIP: Why can't Docker run the entrypoint?
services:
app:
image: git.autonomic.zone/autonomic-cooperative/docker-debugging-disco:0.1.0
ports:
- 8000:80
configs:
- source: custom_entrypoint
target: /custom-docker-entrypoint-2.sh
entrypoint: /custom-docker-entrypoint-2.sh
configs:
custom_entrypoint:
file: entrypoint.sh

5
5/entrypoint.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
export CHALLENGE=5
/custom-docker-entrypoint.sh

16
6/docker-compose.yml Normal file
View File

@ -0,0 +1,16 @@
---
# TIP: Why can't Docker find the entrypoint?
services:
app:
image: git.autonomic.zone/autonomic-cooperative/docker-debugging-disco:0.1.0
ports:
- 8000:80
configs:
- source: custom_entrypoint
target: /custom-docker-entrypoint-2.sh
entrypoint: /custom-docker-entrypoint-3.sh
configs:
custom_entrypoint:
file: entrypoint.sh

5
6/entrypoint.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
export CHALLENGE=6
/custom-docker-entrypoint.sh