mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 14:11:23 -04:00
Update probetest container images to build binary and reduce final image size with multiple stages
This commit is contained in:
parent
ca07f57448
commit
14b8cde3da
2 changed files with 34 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue