diff --git a/Dockerfile b/Dockerfile index 24322cf..30b18f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /gerbil # Start a new stage from scratch FROM ubuntu:22.04 AS runner -RUN apt-get update && apt-get install -y nftables && apt-get clean +RUN apt-get update && apt-get install -y nftables iproute2 wireguard && apt-get clean WORKDIR /root/ diff --git a/docker-compose.yml b/docker-compose.yml index 1a73de3..e3a4d6a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,4 @@ services: - 51820:51820/udp volumes: - ./config_example.json:/config/config.json - sysctls: - - net.ipv4.conf.all.src_valid_mark=1 restart: unless-stopped \ No newline at end of file