Add challenge 5

This commit is contained in:
3wc
2025-07-29 17:04:48 +01:00
parent d3a4ad6bb2
commit c7db1c59ac
2 changed files with 21 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