Update probetest container images to build binary and reduce final image size with multiple stages

This commit is contained in:
Shelikhoo 2025-08-05 16:08:43 +01:00 committed by Shelikhoo
parent ca07f57448
commit 14b8cde3da
No known key found for this signature in database
GPG key ID: 00FC450280CBED3C
2 changed files with 34 additions and 2 deletions

View file

@ -24,6 +24,13 @@ but you should use TLS in production.
To build the probe server, run
```go build```
Or alternatively:
```
cd .. # switch to the repo root directory or $(git rev-parse --show-toplevel)
docker build -t snowflake-probetest -f probetest/Dockerfile .
```
To deploy the probe server, first set the necessary env variables with
```
export HOSTNAMES=${YOUR HOSTNAMES}