-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
executable file
·117 lines (101 loc) · 2.84 KB
/
Makefile
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
H=${HOME}
all: sidecore-images \
uncompress:
gunzip -f -k *.gz
sidecore-images: main.go
CGO_ENABLED=0 go build .
rm -f *.cpio
docker run -e PWD=/ \
--mount type=bind,source=$H,target=$H \
--entrypoint `pwd`/sidecore-images \
ubuntu@sha256:f31546bc71659c643837d57f09a161f04e866b59da4f418e064082a756c4c23a \
/ `pwd`/$@ \
-one-file-system -e /tmp \
> $@
docker run -e PWD=/ \
--mount type=bind,source=$H,target=$H \
--entrypoint `pwd`/sidecore-images \
riscv64/debian:rc-buggy-20240110 \
/ `pwd`/$@ \
-one-file-system -e /tmp \
> $@
gzip -f $<
docker run -e PWD=/ \
--mount type=bind,source=$H,target=$H \
--entrypoint `pwd`/sidecore-images \
riscv64/alpine:20230901 \
/ `pwd`/$@ \
-one-file-system -e /tmp \
> $@
gzip -f $<
docker run -e PWD=/ \
--mount type=bind,source=$H,target=$H \
--entrypoint `pwd`/sidecore-images \
ubuntu \
/ `pwd`/$@ \
-one-file-system -e /tmp \
> $@
docker run -e PWD=/ \
--mount type=bind,source=$H,target=$H \
--entrypoint `pwd`/sidecore-images \
arm32v6/alpine \
/ `pwd`/$@ \
-one-file-system -e /tmp \
> $@
docker run -e PWD=/ \
--mount type=bind,source=$H,target=$H \
--entrypoint `pwd`/sidecore-images \
arm32v7/ubuntu \
/ `pwd`/$@ \
-one-file-system -e /tmp \
> $@
gzip -f $<
docker run -e PWD=/ \
--mount type=bind,source=$H,target=$H \
--entrypoint `pwd`/sidecore-images \
arm32v5/debian \
/ `pwd`/$@ \
-one-file-system -e /tmp \
> $@
gzip -f $<
docker run -e PWD=/ \
--mount type=bind,source=$H,target=$H \
--entrypoint `pwd`/sidecore-images \
navikey/raspbian-buster:latest \
/ `pwd`/$@ \
-one-file-system -e /tmp \
> $@
docker run -e PWD=/ \
--mount type=bind,source=/home,target=/home \
--entrypoint `pwd`/sidecore-images \
091milan/debian:jessie \
/ `pwd`/$@ \
-one-file-system -e /tmp \
> $@
gzip -f $<
gzip -f $<