Skip to content

Commit

Permalink
Re-add build-arg I accidentally removed
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelgaspar committed Sep 12, 2022
1 parent fe25e15 commit 7558f7a
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 --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 --pull --push .
```

For the Alpine Linux-based image:

```
docker buildx build --platform=linux/amd64,linux/arm64 --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 --pull --push .
```

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 7558f7a

Please sign in to comment.