Skip to content

Commit

Permalink
Update readme to have the generated image available on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelgaspar committed Sep 12, 2022
1 parent 7558f7a commit 6f4f466
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public-docker-images/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ You should run these commands from the project root.
For the Debian-based image:

```
docker buildx build --platform=linux/amd64,linux/arm64 --build-arg=VERSION=$(git rev-parse HEAD) --no-cache -t veneur:local -f public-docker-images/Dockerfile-debian-sid --pull --push .
docker buildx build --platform=linux/amd64,linux/arm64 --build-arg=VERSION=$(git rev-parse HEAD) --no-cache -t veneur:local -f public-docker-images/Dockerfile-debian-sid --output tar . | docker import -
```

For the Alpine Linux-based image:

```
docker buildx build --platform=linux/amd64,linux/arm64 --build-arg=VERSION=$(git rev-parse HEAD) --no-cache -t veneur:local -f public-docker-images/Dockerfile-alpine --pull --push .
docker buildx build --platform=linux/amd64,linux/arm64 --build-arg=VERSION=$(git rev-parse HEAD) --no-cache -t veneur:local -f public-docker-images/Dockerfile-alpine --output tar . | docker import -
```

For both cases you could remove ```--platform` arugment if you just plan build for the host architechture.
Expand Down Expand Up @@ -49,5 +49,5 @@ $ docker run --rm -it \
`veneur-emit` is also included in the image, and can be run explicitly like so:

```
$ docker run --net=host -it veneur /veneur/veneur-emit -count 1 -name foo -hostport "127.0.0.1:8126"
docker run --net=host -it veneur /veneur/veneur-emit -count 1 -name foo -hostport "127.0.0.1:8126"
```

0 comments on commit 6f4f466

Please sign in to comment.