diff --git a/aria2/Dockerfile b/aria2/Dockerfile index cf72fe1..68a2a60 100644 --- a/aria2/Dockerfile +++ b/aria2/Dockerfile @@ -1,8 +1,5 @@ FROM alpine:3.19.1 -# Optimization for China -RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories - RUN apk update && apk add --no-cache aria2 ADD entrypoint.sh / diff --git a/test/runner.py b/test/runner.py index e2908fb..83b8d70 100755 --- a/test/runner.py +++ b/test/runner.py @@ -24,6 +24,9 @@ services = [ ] os.chdir(root_dir) + +if not os.path.exists(".env"): + call("cp .env.example .env") call("docker-compose up -d --force-recreate --wait") os.chdir(test_dir)