Skip to content

Commit 2af53b6

Browse files
committed
README.md: improve instructions
1 parent 19108d0 commit 2af53b6

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ These images are available for the following OCI platforms:
2222
- `linux/amd64`
2323
- `linux/386` (`glibc` only)
2424
- `linux/arm64`
25-
- `linux/arm/v7`
26-
- `linux/arm/v6`
25+
26+
> Note: images for `linux/arm/v7` and `linux/arm/v6` are currently unavailable, see issue [#12](https://github.com/void-linux/void-docker/issues/12) for more details
2727
2828
```
2929
REPOSITORY TAG SIZE
@@ -41,20 +41,24 @@ With `docker` and `docker-buildx`:
4141

4242
1. Install and set up `docker` and `docker-buildx`. If building multi-platform images,
4343
`qemu-user-static`, and `binfmt-support` are also needed:
44-
```
45-
xbps-install docker docker-buildx qemu-user-static binfmt-support
46-
ln -st /var/service /etc/sv/docker /etc/sv/binfmt-support
44+
```sh
45+
xbps-install docker docker-buildx
46+
ln -s /etc/sv/docker /var/service
47+
# optional
48+
xbps-install binfmt-support
49+
ln -s /etc/sv/binfmt-support /var/service
50+
xbps-install qemu-user-static
4751
```
4852
2. Build the image:
53+
```sh
54+
docker build --target "image-<default|full|busybox>" -f Containerfile --build-arg="LIBC=<glibc|musl>" . --tag <yourtag>
4955
```
50-
docker build --target <default|full|busybox> -f Containerfile --build-arg="LIBC=<glibc|musl>" . -t <yourtag>
51-
```
52-
> Note: To build multi-platform images, `docker buildx bake` can be used.
56+
> Note: To easily build multi-platform images, `docker buildx bake` can be used.
5357
5458
With `podman`:
5559

5660
1. Install and set up `podman`.
5761
2. Build the image:
58-
```
59-
TODO
62+
```sh
63+
podman build --target "image-<default|full|busybox>" --build-arg="LIBC=<glibc|musl>" . --tag <yourtag>
6064
```

0 commit comments

Comments
 (0)