Add challenge 6
This commit is contained in:
16
6/docker-compose.yml
Normal file
16
6/docker-compose.yml
Normal 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
5
6/entrypoint.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
export CHALLENGE=6
|
||||||
|
|
||||||
|
/custom-docker-entrypoint.sh
|
Reference in New Issue
Block a user