Compare commits

...

3 Commits

Author SHA1 Message Date
3wc
c09cb3d374 Less pessimistic space requirements 2025-07-29 14:51:52 +01:00
3wc
825fac41b1 Add challenge 1 2025-07-29 14:49:59 +01:00
3wc
092f821553 Add favicon, fix charset, fix index path 2025-07-29 14:49:42 +01:00
4 changed files with 23 additions and 3 deletions

View File

@ -2,7 +2,7 @@ FROM nginx:1.29.0
COPY entrypoint.sh /custom-docker-entrypoint.sh
COPY index.html /usr/share/nginx/html/index.html
COPY index.html /usr/share/nginx/html/index.html.tmpl
RUN ["chmod", "a+x", "/custom-docker-entrypoint.sh"]

View File

@ -1,8 +1,13 @@
<html>
<head>
<meta charset="UTF-8">
<title>Docker Debugging Disco Challenge ${CHALLENGE}</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🪩</text></svg>">
</head>
<body>
<h1>Far out! Challenge ${CHALLENGE} complete 🕺</h1>
<p>
Now hit <code>Ctrl+C</code>, then run <code>docker-compose down</code> and move on to the next challenge!
</p>
</body>
</html>

11
1/docker-compose.yml Normal file
View File

@ -0,0 +1,11 @@
---
# Nice and simple, this challenge just tests that things are working correctly.
services:
app:
image: git.autonomic.zone/autonomic-cooperative/docker-debugging-disco:0.1.0
ports:
- 8000:80
environment:
- CHALLENGE=1

View File

@ -6,7 +6,7 @@ Bust some docker troubleshooting moves 🕺
- [ ] [Install Docker](https://docs.docker.com/engine/install/)
- [ ] Clone this repository
- [ ] Make sure you have ~1GB free disk space
- [ ] Make sure you have ~100MB free disk space
## Start the jam
@ -22,3 +22,7 @@ docker compose up
```
NOTE: if you get a Docker error message running `docker compose`, you might be on a vintage version of Docker no worries, either update if possible, or [install Docker Compose Standalone](https://docs.docker.com/compose/install/standalone/) and run `docker-compose` (with a hyphen) instead
## Trouble on the dancefloor?
Check out `docker-compose.yml` in each challenge directory for hints.