Skip to content

Commit fb5830d

Browse files
committed
Refine README description for Docker Hub
1 parent 7985a21 commit fb5830d

1 file changed

Lines changed: 21 additions & 9 deletions

File tree

README.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,28 @@
11
# debian-bazel
22

3-
Debian Bullseye image with Bazel available for building distroless images.
3+
A Debian + Bazel build container for creating distroless-style images without pulling in extra Google project boilerplate.
44

5-
## Build locally (Podman)
5+
Use it in a multistage Dockerfile:
6+
7+
```dockerfile
8+
FROM docker.io/cartheur/debian-bazel:latest AS build
9+
```
10+
11+
## Local usage (Podman)
12+
13+
Build:
614

715
```bash
816
podman build -t docker.io/cartheur/debian-bazel:latest .
917
```
1018

11-
## Run locally (Podman)
19+
Run:
1220

1321
```bash
14-
podman run --rm docker.io/cartheur/debian-bazel:latest
22+
podman run --rm docker.io/cartheur/debian-bazel:latest bazel --version
1523
```
1624

17-
## Push to Docker Hub (Podman)
25+
Push:
1826

1927
```bash
2028
podman login docker.io
@@ -25,9 +33,13 @@ podman push docker.io/cartheur/debian-bazel:latest
2533

2634
Workflow file: `.github/workflows/publish.yml`
2735

28-
Set these repository secrets in GitHub:
36+
Required repository secrets:
37+
38+
- `DOCKERHUB_USERNAME` (for example `cartheur`)
39+
- `DOCKERHUB_TOKEN` (Docker Hub access token with push permissions)
40+
41+
The workflow publishes `docker.io/cartheur/debian-bazel:latest` on every push to `main` and on manual dispatch.
2942

30-
- `DOCKERHUB_USERNAME`: your Docker Hub username (`cartheur`)
31-
- `DOCKERHUB_TOKEN`: Docker Hub access token (not your password)
43+
## Note on Docker CLI
3244

33-
The workflow pushes `docker.io/cartheur/debian-bazel:latest` on every push to `main`, and also supports manual run from the Actions tab.
45+
`docker-ce-cli` is not currently installed in this image. If you want remote daemon control (`docker`, `docker compose`, `docker swarm`) from inside this container, I can add that in a separate variant.

0 commit comments

Comments
 (0)