Skip to content

Commit ae2ee84

Browse files
authored
fix the image name (#31)
* fix the image name Signed-off-by: kerthcet <kerthcet@gmail.com> * fix comment Signed-off-by: kerthcet <kerthcet@gmail.com> * fix comment Signed-off-by: kerthcet <kerthcet@gmail.com> --------- Signed-off-by: kerthcet <kerthcet@gmail.com>
1 parent 7cd3b2b commit ae2ee84

6 files changed

Lines changed: 17 additions & 15 deletions

File tree

docs/proposals/TUNNEL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ docker run \
284284

285285
```bash
286286
# From SandD repo
287-
docker build -f hack/docker/Dockerfile.server-tunnel -t inftyai/sandd-server:latest-tunnel .
287+
docker build -f hack/docker/Dockerfile.server-tunnel -t inftyai/sandd-server-tunnel:latest .
288288
```
289289

290290
### 2. Run Headscale
@@ -335,7 +335,7 @@ docker run \
335335
--cap-add NET_ADMIN \
336336
--device /dev/net/tun \
337337
-v $(pwd)/controller.py:/app/controller.py \
338-
inftyai/sandd-server:latest-tunnel \
338+
inftyai/sandd-server-tunnel:latest \
339339
python /app/controller.py
340340
```
341341

examples/tunnel-simple/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ You can either:
4949

5050
```bash
5151
# Option B: Build manually from repo root
52-
docker build -f hack/docker/Dockerfile.server-tunnel -t inftyai/sandd-server:latest-tunnel .
52+
docker build -f hack/docker/Dockerfile.server-tunnel -t inftyai/sandd-server-tunnel:latest .
5353
docker build -f hack/docker/Dockerfile.debian -t inftyai/sandd-daemon:debian .
5454
```
5555

@@ -191,7 +191,7 @@ sandd --server-url ws://100.64.0.1:8765/ws \
191191
### Dockerfile
192192

193193
```dockerfile
194-
FROM inftyai/sandd-server:latest-tunnel
194+
FROM inftyai/sandd-server-tunnel:latest
195195
196196
COPY my_controller.py .
197197
CMD ["python", "my_controller.py"]

hack/docker/Dockerfile.daemon-tunnel-release

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#
44
# Build: docker build -f hack/docker/Dockerfile.daemon-tunnel-release \
55
# --build-arg SANDD_VERSION=v0.1.0 \
6-
# -t inftyai/sandd-daemon:v0.1.0-tunnel .
7-
# Run: docker run --cap-add NET_ADMIN --device /dev/net/tun inftyai/sandd-daemon:v0.1.0-tunnel
6+
# -t inftyai/sandd-tunnel:v0.1.0 .
7+
# Run: docker run --cap-add NET_ADMIN --device /dev/net/tun inftyai/sandd-tunnel:v0.1.0
88

99
FROM debian:bookworm-slim
1010

hack/docker/Dockerfile.server-tunnel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
# ↑
77
# └─ Tailscale client (installed in this image)
88
#
9-
# Build: docker build -f Dockerfile.server-tunnel -t inftyai/sandd-server:latest-tunnel .
10-
# Run: docker run --cap-add NET_ADMIN --device /dev/net/tun inftyai/sandd-server:latest-tunnel
9+
# Build: docker build -f hack/docker/Dockerfile.server-tunnel -t inftyai/sandd-server-tunnel:latest .
10+
# Run: docker run --cap-add NET_ADMIN --device /dev/net/tun inftyai/sandd-server-tunnel:latest
1111

1212
FROM python:3.11-slim-bookworm
1313

hack/docker/Dockerfile.server-tunnel-release

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# SandD Server with Tunnel Support (Release Version)
22
# Uses published PyPI package instead of building from source
33
#
4-
# Build: docker build -f hack/docker/Dockerfile.server-tunnel-release -t inftyai/sandd-server:v0.1.0-tunnel .
5-
# Run: docker run --cap-add NET_ADMIN --device /dev/net/tun inftyai/sandd-server:v0.1.0-tunnel
4+
# Build: docker build -f hack/docker/Dockerfile.server-tunnel-release \
5+
# --build-arg SANDD_VERSION=0.1.0 \
6+
# -t inftyai/sandd-server-tunnel:v0.1.0 .
7+
# Run: docker run --cap-add NET_ADMIN --device /dev/net/tun inftyai/sandd-server-tunnel:v0.1.0
68

79
FROM python:3.11-slim-bookworm
810

hack/docker/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ This directory contains Docker-related files for building and testing SandD.
1010

1111
- **`Dockerfile.server-tunnel`** - Server with Tailscale (build from source)
1212
- Use: Development and testing
13-
- Build: `docker build -f hack/docker/Dockerfile.server-tunnel -t inftyai/sandd-server:latest-tunnel .`
13+
- Build: `docker build -f hack/docker/Dockerfile.server-tunnel -t inftyai/sandd-server-tunnel:latest .`
1414
- See: [docs/proposals/TUNNEL.md](../../docs/proposals/TUNNEL.md)
1515

1616
- **`Dockerfile.server-tunnel-release`** - Server with Tailscale (uses PyPI release)
1717
- Use: Production deployments
18-
- Build: `docker build -f hack/docker/Dockerfile.server-tunnel-release --build-arg SANDD_VERSION=0.1.0 -t inftyai/sandd-server:v0.1.0-tunnel .`
18+
- Build: `docker build -f hack/docker/Dockerfile.server-tunnel-release --build-arg SANDD_VERSION=0.1.0 -t inftyai/sandd-server-tunnel:v0.1.0 .`
1919

2020
#### Daemon (Worker) Images
2121

2222
- **`Dockerfile.daemon-tunnel`** - Daemon with Tailscale (build from source)
2323
- Use: Development and testing
24-
- Build: `docker build -f hack/docker/Dockerfile.daemon-tunnel -t inftyai/sandd-daemon:latest-tunnel .`
24+
- Build: `docker build -f hack/docker/Dockerfile.daemon-tunnel -t inftyai/sandd-tunnel:latest .`
2525

2626
- **`Dockerfile.daemon-tunnel-release`** - Daemon with Tailscale (uses GitHub release)
2727
- Use: Production deployments
28-
- Build: `docker build -f hack/docker/Dockerfile.daemon-tunnel-release --build-arg SANDD_VERSION=v0.1.0 -t inftyai/sandd-daemon:v0.1.0-tunnel .`
28+
- Build: `docker build -f hack/docker/Dockerfile.daemon-tunnel-release --build-arg SANDD_VERSION=v0.1.0 -t inftyai/sandd-tunnel:v0.1.0 .`
2929

3030
#### Test Images (Direct Mode)
3131

@@ -46,7 +46,7 @@ This directory contains Docker-related files for building and testing SandD.
4646

4747
```bash
4848
# From repo root
49-
docker build -f hack/docker/Dockerfile.server-tunnel -t inftyai/sandd-server:latest-tunnel .
49+
docker build -f hack/docker/Dockerfile.server-tunnel -t inftyai/sandd-server-tunnel:latest .
5050
```
5151

5252
### Build test images

0 commit comments

Comments
 (0)