Compare commits
2 Commits
d3a4ad6bb2
...
dce3933c9e
Author | SHA1 | Date | |
---|---|---|---|
dce3933c9e | |||
c7db1c59ac |
16
5/docker-compose.yml
Normal file
16
5/docker-compose.yml
Normal 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
5
5/entrypoint.sh
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
export CHALLENGE=5
|
||||
|
||||
/custom-docker-entrypoint.sh
|
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