forked from meaningful-ooo/docker-fish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
52 lines (39 loc) · 1.45 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
set shell := ["fish", "-c"]
build ALPINE_VERSION FISH_VERSION verbose="verbose":
@printf "verbosity: %s\n\n " {{ verbose }}
docker buildx build \
{{ if verbose == "verbose" {""} else { "--quiet" } }} \
--build-context alpine=docker-image://alpine:{{ ALPINE_VERSION }} \
--file ./Dockerfile \
--tag=fish-{{ FISH_VERSION }} \
./
run FISH_VERSION:
docker run \
--interactive \
--tty \
fish-{{ FISH_VERSION }}:latest
test FISH_VERSION:
docker run \
--rm \
fish-{{ FISH_VERSION }} \
'fish --version | grep {{ FISH_VERSION }}'
build-3-0-2 verbose="false": (build "3.11" "3.0.2" verbose)
run-3-0-2: (run "3.0.2")
build-3-1-2 verbose="false": (build "3.13" "3.1.2" verbose)
run-3-1-2: (run "3.1.2")
build-3-2-2 verbose="false": (build "3.14" "3.2.2" verbose)
run-3-2-2: (run "3.2.2")
build-3-3-1 verbose="false": (build "3.15" "3.3.1" verbose)
run-3-3-1: (run "3.3.1")
build-3-4-1 verbose="false": (build "3.16" "3.4.1" verbose)
run-3-4-1: (run "3.4.1")
build-3-5-1 verbose="false": (build "3.17" "3.5.1" verbose)
run-3-5-1: (run "3.5.1")
build-3-6-1 verbose="false": (build "3.18" "3.6.1" verbose)
run-3-6-1: (run "3.6.1")
build-3-6-3 verbose="false": (build "3.19" "3.6.3" verbose)
run-3-6-3: (run "3.6.3")
build-3-7-0 verbose="false": (build "edge" "3.7.0" verbose)
run-3-7-0: (run "3.7.0")
# build-3-6-2 verbose="false": (build "edge" "3.6.2" verbose)
# run-3-6-2: (run "3.6.2")