-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
36 lines (30 loc) · 1.04 KB
/
Taskfile.yml
File metadata and controls
36 lines (30 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '3'
tasks:
default:
desc: "The default task"
cmds:
- task: run-dev-desktop
build-dev:
desc: "Build the dev image in China Mainland"
cmds:
- docker build -t 117503445/dev -f ./images/dev/Dockerfile --build-arg CHINA_MIRROR=1 .
- docker run -it --rm -p 44444:4444 117503445/dev
build-dev-desktop:
desc: "Build the dev-desktop image in China Mainland"
cmds:
- docker build -t 117503445/dev-desktop -f ./images/dev-desktop/Dockerfile --build-arg CHINA_MIRROR=1 --progress=plain .
run-dev-desktop:
desc: "Run the dev-desktop image"
deps: ["build-dev-desktop"]
cmds:
- docker rm -f dev-desktop || true
- docker run --rm -p 44444:4444 -p 3000:3000 --name dev-desktop -d 117503445/dev-desktop
run-webtop:
desc: "Run the webtop image"
cmds:
- docker run --rm -p 3000:3000 lscr.io/linuxserver/webtop:arch-kde
test:
desc: "Test the dev-desktop container environment"
deps: ["run-dev-desktop"]
cmds:
- cd scripts/go-scripts && go run . test