0
0
mirror of https://github.com/hufrea/byedpi.git synced 2025-06-30 02:31:15 +00:00
This commit is contained in:
Viktor45 2025-06-28 10:35:15 +03:00 committed by GitHub
commit 73b6f8fc44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 25 additions and 0 deletions

View File

@ -332,6 +332,14 @@ TCP может отсылать данные вне основного пото
* Linux: `make`
* Windows: `make windows CC=x86_64-w64-mingw32-gcc`
------
### Docker
```sh
docker build ./ -t byedpi:latest
docker run -p 1080:1080 -ti byedpi:latest ciadpi --disorder 1 --auto=torst --tlsrec 1+s
```
------
### Дополнительная информация о DPI, источники идей
* https://github.com/bol-van/zapret/blob/master/docs/readme.md

17
dist/Dockerfile vendored Normal file
View File

@ -0,0 +1,17 @@
FROM alpine:3.20 AS builder
RUN apk update && apk add --no-cache \
build-base \
curl \
git \
linux-headers
RUN git clone -b \
$(basename $(curl -Ls -o /dev/null -w %{url_effective} \
https://github.com/hufrea/byedpi/releases/latest)) \
https://github.com/hufrea/byedpi.git \
/opt/byedpi
WORKDIR /opt/byedpi
RUN make
FROM alpine:3.20
COPY --from=builder /opt/byedpi/ciadpi /opt/byedpi/ciadpi
EXPOSE 1080
ENTRYPOINT ["/opt/byedpi/ciadpi"]