mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
use zerocopy in udp protocol, easy running transfer CI locally
This commit is contained in:
parent
af16a9e682
commit
0e12dd1b13
24 changed files with 783 additions and 652 deletions
18
docker/ci.Dockerfile
Normal file
18
docker/ci.Dockerfile
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Can be used to run file transfer CI test locally. Usage:
|
||||
# 1. docker build -t aquatic -f ./docker/ci.Dockerfile .
|
||||
# 2. docker run aquatic
|
||||
# 3. On failure, run `docker rmi aquatic -f` and go back to step 1
|
||||
|
||||
FROM rust:bullseye
|
||||
|
||||
RUN mkdir "/opt/aquatic"
|
||||
|
||||
ENV "GITHUB_WORKSPACE" "/opt/aquatic"
|
||||
|
||||
WORKDIR "/opt/aquatic"
|
||||
|
||||
COPY ./.github/actions/test-file-transfers/entrypoint.sh entrypoint.sh
|
||||
COPY Cargo.toml Cargo.lock ./
|
||||
COPY crates crates
|
||||
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue