mirror of
https://github.com/hufrea/byedpi.git
synced 2025-06-30 02:31:15 +00:00
Merge 7f28255de7
into ed76be1dad
This commit is contained in:
commit
73b6f8fc44
@ -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
17
dist/Dockerfile
vendored
Normal 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"]
|
Loading…
Reference in New Issue
Block a user