Skip to content

Commit 6d024ff

Browse files
hello_world should ask for the greeting
1 parent 01b8a6f commit 6d024ff

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

functions/inotifywait/runbook.md

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
docker build -t vonwig/inotifywait .
33
```
44

5+
```sh
6+
docker buildx build \
7+
--builder hydrobuild \
8+
--platform linux/amd64,linux/arm64 \
9+
--tag vonwig/inotifywait:latest \
10+
--file Dockerfile \
11+
--push .
12+
13+
```
14+
515
```sh
616
docker run --rm -v "docker-prompts:/prompts" vonwig/inotifywait -e modify -e create -e delete -m -q /prompts/
717
```

prompts/examples/hello_world.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
---
2-
name: hello-docker
3-
description: run the hello-docker
2+
name: hello from Docker
3+
description: send a greeting from Docker
44
model: claude-3-5-sonnet-20241022
5+
parameters:
6+
type: object
7+
properties:
8+
greeting:
9+
type: string
10+
description: the greeting to send
511
tools:
612
- name: hello-docker
713
description: print a secret message
814
container:
915
image: busybox:latest
1016
command:
1117
- echo
12-
- "Hello, World!"
18+
- "{{greeting|safe}}"
1319
---
1420

1521
# prompt user
1622

17-
Use hello world to print a secret message and then explain it to me
23+
Ask the user what kind of a greeting they'd like to receive.
24+
Then send a greeting from Docker and show the output.
1825

0 commit comments

Comments
 (0)