feat: update dockerfiles
This commit is contained in:
parent
6a1bb18c2f
commit
53f058f96d
5 changed files with 51 additions and 15 deletions
|
|
@ -6,17 +6,18 @@ services:
|
|||
init: true
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 127.0.0.1:8080:8080
|
||||
- 127.0.0.1:8443:8443
|
||||
- 127.0.0.1:8080:8080/tcp
|
||||
- 127.0.0.1:8443:8443/udp
|
||||
- 127.0.0.1:8443:8443/tcp
|
||||
build:
|
||||
context: ../
|
||||
# args: # Specify when build quic-s2n version
|
||||
# - "CARGO_FEATURES=--no-default-features --features http3-s2n"
|
||||
# - "ADDITIONAL_DEPS=pkg-config libssl-dev cmake libclang1 gcc g++"
|
||||
dockerfile: ./docker/Dockerfile
|
||||
args: # Uncomment when build quic-s2n version
|
||||
- "CARGO_FEATURES=--no-default-features --features http3-s2n"
|
||||
- "ADDITIONAL_DEPS=pkg-config libssl-dev cmake libclang1 gcc g++"
|
||||
dockerfile: ./docker/Dockerfile # based on ubuntu 22.04 and build x86_64-unknown-linux-gnu
|
||||
platforms: # Choose your platforms
|
||||
# - "linux/amd64"
|
||||
- "linux/arm64"
|
||||
- "linux/amd64"
|
||||
# - "linux/arm64"
|
||||
environment:
|
||||
- LOG_LEVEL=debug
|
||||
- LOG_TO_FILE=true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue