feat: update dockerfiles

This commit is contained in:
Jun Kurihara 2023-07-31 23:03:11 +09:00
commit 53f058f96d
5 changed files with 51 additions and 15 deletions

View file

@ -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