-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjustfile
71 lines (58 loc) · 2 KB
/
justfile
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# help
default:
@just --list --justfile {{ justfile() }}
# build all images
build-all:
just build-nginx
just build-litespeed
# build all nginx images
build-nginx:
just build-php74nginx
just build-php80nginx
just build-php81nginx
just build-php82nginx
# build all litespeed images
build-litespeed:
just build-php73
just build-php74
just build-php80
just build-php81
just build-php82
# build php 7.3
build-php73:
docker pull ghcr.io/computestacks/cs-docker-php:7.3-litespeed
@just --justfile {{ justfile() }} build-image "php7.3-litespeed"
# build php 7.4
build-php74:
docker pull ghcr.io/computestacks/cs-docker-php:7.4-litespeed
@just --justfile {{ justfile() }} build-image "php7.4-litespeed"
# build php 7.4 nginx
build-php74nginx:
docker pull ghcr.io/computestacks/cs-docker-php:7.4-nginx
@just --justfile {{ justfile() }} build-image "php7.4-nginx"
# build php 8.0 nginx
build-php80nginx:
docker pull ghcr.io/computestacks/cs-docker-php:8.0-nginx
@just --justfile {{ justfile() }} build-image "php8.0-nginx"
# build php 8.0
build-php80:
docker pull ghcr.io/computestacks/cs-docker-php:8.0-litespeed
@just --justfile {{ justfile() }} build-image "php8.0-litespeed"
# build php 8.1 nginx
build-php81nginx:
docker pull ghcr.io/computestacks/cs-docker-php:8.1-nginx
@just --justfile {{ justfile() }} build-image "php8.1-nginx"
# build php 8.1
build-php81:
docker pull ghcr.io/computestacks/cs-docker-php:8.1-litespeed
@just --justfile {{ justfile() }} build-image "php8.1-litespeed"
# build php 8.2 nginx
build-php82nginx:
docker pull ghcr.io/computestacks/cs-docker-php:8.2-nginx
@just --justfile {{ justfile() }} build-image "php8.2-nginx"
# build php 8.2
build-php82:
docker pull ghcr.io/computestacks/cs-docker-php:8.2-litespeed
@just --justfile {{ justfile() }} build-image "php8.2-litespeed"
build-image image:
docker build -t ghcr.io/computestacks/cs-docker-wordpress:{{ image }} {{ image }}/