This repository has been archived by the owner on Nov 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathJustfile
646 lines (545 loc) · 24.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
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
#! /usr/bin/env -S just --justfile
# vi: ft=just tabstop=2 shiftwidth=2 softtabstop=2 expandtab
set positional-arguments := true
set dotenv-load := true
set shell := ["/bin/bash", "-o", "pipefail", "-c"]
default:
@just --choose
# ─── DEPENDENCIES ───────────────────────────────────────────────────────────────
alias b := bootstrap
bootstrap: dependencies build-targets-gen vscode-tasks kary-comments format pre-commit
@echo bootstrap completed
# ────────────────────────────────────────────────────────────────────────────────
alias d := dependencies
dependencies:
#!/usr/bin/env bash
set -euo pipefail
if command -- sudo pip3 -h > /dev/null 2>&1 ; then
if ! command -- pre-commit -h > /dev/null 2>&1 ; then
python3 -m pip install --user --no-cache pre-commit
fi
fi
if command -- cargo -h > /dev/null 2>&1 ; then
if ! command -- convco -h > /dev/null 2>&1 ; then
cargo install convco
fi
if ! command -- jsonfmt -h > /dev/null 2>&1 ; then
cargo install jsonfmt
fi
fi
if [ ! -d "$HOME/.SpaceVim" ] ; then
curl -sLf https://spacevim.org/install.sh | bash
fi
if command -- sudo $(which node) $(which yarn) --help > /dev/null 2>&1 ; then
NODE_PACKAGES="\
remark \
remark-cli \
remark-stringify \
remark-frontmatter \
wcwidth \
prettier \
bash-language-server \
dockerfile-language-server-nodejs \
standard-readme-spec \
"
IFS=' ' read -a NODE_PACKAGES <<< "$NODE_PACKAGES" ;
installed=()
if command -- jq -h > /dev/null 2>&1 && [ -r $(sudo $(which node) $(which yarn) global dir)/package.json ] ; then
while IFS='' read -r line; do
installed+=("$line");
done < <(cat $(sudo $(which node) $(which yarn) global dir)/package.json | jq -r '.dependencies|keys[]')
fi
intersection=($(comm -12 <(for X in "${NODE_PACKAGES[@]}"; do echo "${X}"; done|sort) <(for X in "${installed[@]}"; do echo "${X}"; done|sort)))
to_install=($(echo ${intersection[*]} ${NODE_PACKAGES[*]} | sed 's/ /\n/g' | sort -n | uniq -u | paste -sd " " - ))
if [ ${#to_install[@]} -ne 0 ];then
sudo $(which node) $(which yarn) global add --prefix /usr/local ${to_install[@]}
fi
fi
# ────────────────────────────────────────────────────────────────────────────────
alias kc := kary-comments
kary-comments:
#!/usr/bin/env bash
set -euo pipefail
sed -i.bak \
-e "/case 'yaml':.*/a case 'terraform':" \
-e "/case 'yaml':.*/a case 'dockerfile':" \
-e "/case 'yaml':.*/a case 'just':" \
-e "/case 'yaml':.*/a case 'hcl':" \
~/.vscode*/extensions/karyfoundation.comment*/dictionary.js || true
# ────────────────────────────────────────────────────────────────────────────────
alias vt := vscode-tasks
vscode-tasks:
#!/usr/bin/env bash
set -euo pipefail
if command -- jq -h > /dev/null 2>&1 ; then
IFS=' ' read -a TASKS <<< "$(just --summary --color never -f "{{ justfile() }}" 2>/dev/null)"
if [ ${#TASKS[@]} -ne 0 ];then
json=$(jq -n --arg version "2.0.0" '{"version":$version,"tasks":[]}')
for task in "${TASKS[@]}";do
taskjson=$(jq -n --arg task "${task}" --arg command "just ${task}" '[{"type": "shell","label": $task, "command": $command }]')
json=$(echo "${json}" | jq ".tasks += ${taskjson}")
done
echo "${json}" | jq -r '.' > "{{ justfile_directory() }}/.vscode/tasks.json"
fi
fi
# ─── FORMAT ─────────────────────────────────────────────────────────────────────
alias f := format
alias fmt := format
format: format-json format-just
@echo format completed
# ────────────────────────────────────────────────────────────────────────────────
alias fj := format-json
alias json-fmt := format-json
format-json:
#!/usr/bin/env bash
set -euo pipefail
if command -- jsonfmt -h > /dev/null 2>&1 ; then
while read file;do
echo "*** formatting $file"
jsonfmt "$file" || true
done < <(find -type f -not -path '*/\.git/*' -name '*.json')
fi
# ────────────────────────────────────────────────────────────────────────────────
format-just:
#!/usr/bin/env bash
set -euo pipefail
just --unstable --fmt 2>/dev/null
# ────────────────────────────────────────────────────────────────────────────────
alias pc := pre-commit
pre-commit: format-just
#!/usr/bin/env bash
set -euo pipefail
pushd "{{ justfile_directory() }}" > /dev/null 2>&1
export PIP_USER=false
git add ".pre-commit-config.yaml"
pre-commit install > /dev/null 2>&1
pre-commit install-hooks
pre-commit
popd > /dev/null 2>&1
# ────────────────────────────────────────────────────────────────────────────────
alias c := commit
commit: pre-commit
#!/usr/bin/env bash
set -euo pipefail
pushd "{{ justfile_directory() }}" > /dev/null 2>&1
if command -- convco -h > /dev/null 2>&1 ; then
convco commit
else
git commit
fi
popd > /dev/null 2>&1
# ────────────────────────────────────────────────────────────────────────────────
alias dc := docker-clean
docker-clean:
#!/usr/bin/env bash
set -euo pipefail
docker ps -aq | xargs -r docker rm -f
docker system prune -f -a --volumes
# ─── VAGRANT RELATED TARGETS ────────────────────────────────────────────────────
alias vug := vagrant-up-gcloud
vagrant-up-gcloud:
#!/usr/bin/env bash
set -euo pipefail
export NAME="$(basename "{{ justfile_directory() }}")" ;
plugins=(
"vagrant-share"
"vagrant-google"
"vagrant-rsync-back"
);
available_plugins=($(vagrant plugin list | awk '{print $1}'))
intersection=($(comm -12 <(for X in "${plugins[@]}"; do echo "${X}"; done|sort) <(for X in "${available_plugins[@]}"; do echo "${X}"; done|sort)))
to_install=($(echo ${intersection[*]} ${plugins[*]} | sed 's/ /\n/g' | sort -n | uniq -u | paste -sd " " - ))
if [ ${#to_install[@]} -ne 0 ];then
vagrant plugin install ${to_install[@]}
fi
if [ -z ${GOOGLE_PROJECT_ID+x} ] || [ -z ${GOOGLE_PROJECT_ID} ]; then
export GOOGLE_PROJECT_ID="$(gcloud config get-value core/project)" ;
fi
GCLOUD_IAM_ACCOUNT="${NAME}@${GOOGLE_PROJECT_ID}.iam.gserviceaccount.com"
if ! gcloud iam service-accounts describe "${GCLOUD_IAM_ACCOUNT}" > /dev/null 2>&1; then
gcloud iam service-accounts create "${NAME}" ;
gcloud projects add-iam-policy-binding "${GOOGLE_PROJECT_ID}" \
--member="serviceAccount:${GCLOUD_IAM_ACCOUNT}" \
--role="roles/owner" ;
fi
if [ -z ${GOOGLE_APPLICATION_CREDENTIALS+x} ] || [ -z ${GOOGLE_APPLICATION_CREDENTIALS} ]; then
export GOOGLE_APPLICATION_CREDENTIALS="${HOME}/${NAME}_gcloud.json" ;
fi
if [ -r "${GOOGLE_APPLICATION_CREDENTIALS}" ];then
rm ${GOOGLE_APPLICATION_CREDENTIALS}
fi
gcloud iam service-accounts keys list \
--iam-account="${GCLOUD_IAM_ACCOUNT}" \
--format="value(KEY_ID)" | xargs -I {} \
gcloud iam service-accounts keys delete \
--iam-account="${GCLOUD_IAM_ACCOUNT}" {} >/dev/null 2>&1 || true ;
gcloud iam service-accounts keys \
create ${GOOGLE_APPLICATION_CREDENTIALS} \
--iam-account="${GCLOUD_IAM_ACCOUNT}" ;
rm -f "$HOME/.ssh/${NAME}"* ;
ssh-keygen -q -N "" -t rsa -b 2048 -f "$HOME/.ssh/${NAME}" || true ;
vagrant up --provider=google
# ────────────────────────────────────────────────────────────────────────────────
alias vdg := vagrant-down-gcloud
vagrant-down-gcloud:
#!/usr/bin/env bash
set -euo pipefail ;
vagrant destroy -f || true ;
export NAME="$(basename "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)")" ;
if [ -z ${GOOGLE_PROJECT_ID+x} ] || [ -z ${GOOGLE_PROJECT_ID} ]; then
export GOOGLE_PROJECT_ID="$(gcloud config get-value core/project)" ;
fi
if [ -z ${GOOGLE_APPLICATION_CREDENTIALS+x} ] || [ -z ${GOOGLE_APPLICATION_CREDENTIALS} ]; then
export GOOGLE_APPLICATION_CREDENTIALS="${HOME}/${NAME}_gcloud.json" ;
fi
GCLOUD_IAM_ACCOUNT="${NAME}@${GOOGLE_PROJECT_ID}.iam.gserviceaccount.com"
gcloud iam service-accounts delete --quiet "${GCLOUD_IAM_ACCOUNT}" > /dev/null 2>&1 || true ;
rm -f "${GOOGLE_APPLICATION_CREDENTIALS}" ;
rm -f "$HOME/.ssh/${NAME}" ;
rm -f "$HOME/.ssh/${NAME}.pub" ;
gcloud compute instances delete --quiet "${NAME}" > /dev/null 2>&1 || true ;
sudo rm -rf .vagrant ;
# ─── GITPOD ─────────────────────────────────────────────────────────────────────
docker-socket-chown:
#!/usr/bin/env bash
set -euo pipefail
sudo chown "$(id -u gitpod):$(cut -d: -f3 < <(getent group docker))" /var/run/docker.sock
alias fo := fix-ownership
fix-ownership: docker-socket-chown
#!/usr/bin/env bash
set -euo pipefail
sudo find "${HOME}/" "/workspace" -not -group `id -g` -not -user `id -u` -print0 | xargs -P 0 -0 --no-run-if-empty sudo chown --no-dereference "`id -u`:`id -g`" || true ;
# sudo find "/workspace" -not -group `id -g` -not -user `id -u` -print | xargs -I {} -P `nproc` --no-run-if-empty sudo chown --no-dereference "`id -u`:`id -g`" {} || true ;
docker-login-env:
#!/usr/bin/env bash
set -euo pipefail
echo "*** ensuring current user belongs to docker group" ;
sudo usermod -aG docker "$(whoami)"
echo "*** ensuring required environment variables are present" ;
while [ -z "$DOCKER_USERNAME" ] ; do \
printf "\n❗ The DOCKER_USERNAME environment variable is required. Please enter its value.\n" ;
read -s -p "DOCKER_USERNAME: " DOCKER_USERNAME ; \
done ; gp env DOCKER_USERNAME=$DOCKER_USERNAME && printf "\nThanks\n" || true ;
while [ -z "$DOCKER_PASSWORD" ] ; do \
printf "\n❗ The DOCKER_PASSWORD environment variable is required. Please enter its value.\n" ;
read -s -p "DOCKER_PASSWORD: " DOCKER_PASSWORD ; \
done ; gp env DOCKER_PASSWORD=$DOCKER_PASSWORD && printf "\nThanks\n" || true ;
alias dl := docker-login
docker-login: fix-ownership docker-login-env
#!/usr/bin/env bash
set -euo pipefail
echo ${DOCKER_PASSWORD} | docker login -u ${DOCKER_USERNAME} --password-stdin ;
just fix-ownership
ssh-pub-key-env:
#!/usr/bin/env bash
set -euo pipefail
while [ -z "$SSH_PUB_KEY" ] ; do \
printf "\n❗ The SSH_PUB_KEY environment variable is required. Please enter its value.\n" ;
read -s -p "SSH_PUB_KEY: " SSH_PUB_KEY ; \
done ; gp env SSH_PUB_KEY=$SSH_PUB_KEY && printf "\nThanks\n" || true ;
ssh-pub-key: fix-ownership ssh-pub-key-env
#!/usr/bin/env bash
set -euo pipefail
mkdir -p ${HOME}/.ssh ;
echo "${SSH_PUB_KEY}" | tee ${HOME}/.ssh/authorized_keys > /dev/null ;
chmod 700 ${HOME}/.ssh ;
chmod 600 ${HOME}/.ssh/authorized_keys ;
just fix-ownership
exit 0
chisel: fix-ownership
#!/usr/bin/env bash
set -euo pipefail
[ -f ${HOME}/chisel.pid ] && echo "*** killing chisel server" && kill -9 "$(cat ${HOME}/chisel.pid)" && rm -rf ${HOME}/chisel.pid ;
pushd ${HOME}/ ;
echo "*** starting chisel server" ;
bash -c "chisel server --socks5 --pid > ${HOME}/chisel.log 2>&1 &" ;
echo "*** chisel was started successfully" ;
popd ;
just fix-ownership
exit 0
dropbear: fix-ownership
#!/usr/bin/env bash
set -euo pipefail
[ ! -f ${HOME}/dropbear.hostkey ] && echo "*** generating dropbear host key" && dropbearkey -t rsa -f ${HOME}/dropbear.hostkey ;
[ -f ${HOME}/dropbear.pid ] && echo "*** killing dropbear server" && kill -9 "$(cat ${HOME}/dropbear.pid)" && rm -rf ${HOME}/dropbear.pid ;
echo "*** starting dropbear server" ;
bash -c "dropbear -r ${HOME}/dropbear.hostkey -F -E -s -p 2222 -P ${HOME}/dropbear.pid > ${HOME}/dropbear.log 2>&1 &" ;
echo "*** dropbear server was started successfully" ;
just fix-ownership
exit 0
alias ssh := ssh-config
ssh-config: ssh-pub-key
#!/usr/bin/env bash
set -euo pipefail
cat << EOF
Host $(gp url | sed -e 's/https:\/\///g' -e 's/[.].*$//g')
HostName localhost
User gitpod
Port 2222
ProxyCommand chisel client $(gp url 8080) stdio:%h:%p
RemoteCommand cd /workspace && exec bash --login
RequestTTY yes
IdentityFile ~/.ssh/id_rsa
IdentitiesOnly yes
StrictHostKeyChecking no
CheckHostIP no
MACs hmac-sha2-256
UserKnownHostsFile /dev/null
EOF
alias gf := git-fetch
git-fetch:
#!/usr/bin/env bash
set -euo pipefail
pushd "{{ justfile_directory() }}" > /dev/null 2>&1
git fetch -p ;
for branch in $(git branch -vv | grep ': gone]' | awk '{print $1}'); do
git branch -D "$branch";
done
popd > /dev/null 2>&1
snapshot: format-just git-fetch
#!/usr/bin/env bash
set -euo pipefail
sync
snapshot_dir="{{ justfile_directory() }}/tmp/snapshots"
mkdir -p "${snapshot_dir}"
time="$(date +'%Y-%m-%d-%H-%M')"
path="${snapshot_dir}/${time}.tar.gz"
tmp="$(mktemp -d)"
tar -C {{ justfile_directory() }} -cpzf "$tmp/${time}.tar.gz" .
mv "$tmp/${time}.tar.gz" "$path"
rm -r "$tmp"
echo >&2 "*** snapshot created at ${path}"
# ─── BUILDERS ───────────────────────────────────────────────────────────────────
RUST_BUILDER_IMAGE := "fjolsvin/rust-builder-alpine"
docker-qemu:
#!/usr/bin/env bash
set -euo pipefail
docker run \
--rm \
--privileged \
multiarch/qemu-user-static --reset -p yes
alias rb-amd := rust-builder-amd64
@rust-builder-amd64:
#!/usr/bin/env bash
set -euo pipefail
mount_path="{{ justfile_directory() }}/tmp/$(basename $0)" ;
docker pull "{{ RUST_BUILDER_IMAGE }}"
mkdir -p "$mount_path"
sudo rm -rf "$mount_path"
mkdir -p "$mount_path"
docker run -v "$mount_path:/workspace" \
--entrypoint '' \
--rm -it "{{ RUST_BUILDER_IMAGE }}" /bin/bash
sudo chown "`id -u`:`id -g`" "$mount_path" -R
# ────────────────────────────────────────────────────────────────────────────────
alias rb-arm := rust-builder-arm64
@rust-builder-arm64: docker-qemu
#!/usr/bin/env bash
set -euo pipefail
arch="arm64"
mount_path="{{ justfile_directory() }}/tmp/$(basename $0)" ;
hash=$(docker manifest inspect "{{ RUST_BUILDER_IMAGE }}" \
| jq -r ".manifests \
| .[]
| select(.platform.architecture == \"${arch}\")
| .digest")
docker run \
-v {{ justfile_directory() }}/tmp/qemu-aarch64-static:/usr/bin/qemu-aarch64-static \
--entrypoint "" --rm -it "{{ RUST_BUILDER_IMAGE }}@${hash}" /bin/bash
sudo chown "`id -u`:`id -g`" "$mount_path" -R
# ────────────────────────────────────────────────────────────────────────────────
build-and-push-changes *dir:
#!/usr/bin/env bash
set -eu pipefail
if [ -z '{{ dir }}' ]; then
docker_files=($(git ls-files --others --exclude-standard | /bin/grep -E '.*Dockerfile.*' | sort -u || true))
docker_files+=($(git diff --name-only HEAD | /bin/grep -E '.*Dockerfile.*' | sort -u || true))
else
docker_files=($(git ls-files --others --exclude-standard | /bin/grep '{{ dir }}' | /bin/grep -E '.*Dockerfile.*' | sort -u || true))
docker_files+=($(git diff --name-only HEAD | /bin/grep '{{ dir }}' | /bin/grep -E '.*Dockerfile.*' | sort -u || true))
fi
mkdir -p "{{ justfile_directory() }}/tmp"
[ -r "{{ justfile_directory() }}/tmp/failed" ] && rm "{{ justfile_directory() }}/tmp/failed"
for docker_file in "${docker_files[@]}" ; do
script="$(dirname $docker_file)/build.sh" ;
if [ -r "${script}" ]; then
bash "${script}" || echo "${script}" >> "{{ justfile_directory() }}/tmp/failed"
fi
done
# ─── IMAGE BUILD TARGETS ────────────────────────────────────────────────────────
# [ WARN ] do NOT add any tagets after this.
# since the sed command in this target removes all
# lines that comes after 'build:'
alias btg := build-targets-gen
build-targets-gen:
#!/usr/bin/env bash
set -euo pipefail
scripts=()
targets=()
while read script;do
scripts+=("${script}")
target="build-$(dirname ${script} | sed -e 's/\.\///g' -e 's/\//-/g')"
targets+=("${target}")
done < <(find . -name build.sh)
sed -i '/^build:/,$d' "{{ justfile() }}"
echo "" >> "{{ justfile() }}"
echo "build: ${targets[@]}" | tee -a "{{ justfile() }}" > /dev/null
for script in "${scripts[@]}"; do
target="build-$(dirname ${script} | sed -e 's/\.\///g' -e 's/\//-/g')"
(
echo "$target: " ;
echo ' #!/usr/bin/env bash'
echo ' set -euo pipefail ;'
echo " bash ${script}"
) | tee -a "{{ justfile() }}" > /dev/null
done
just format-just
build: build-docker-builder-rust-alpine build-docker-devcontainer-core-alpine build-docker-devcontainer-golang-alpine build-docker-devcontainer-rust-base-alpine build-docker-devcontainer-rust-base-debian build-docker-devcontainer-rust-vscode-debian build-docker-gitpod-alpine build-docker-gitpod-archlinux build-docker-gitpod-ubuntu build-docker-stacks-hashicorp build-docker-tools-bat build-docker-tools-cellar build-docker-tools-clog build-docker-tools-convco build-docker-tools-curl build-docker-tools-delta build-docker-tools-exa build-docker-tools-fd build-docker-tools-hyperfine build-docker-tools-jen build-docker-tools-jsonfmt build-docker-tools-just build-docker-tools-petname build-docker-tools-releez build-docker-tools-ripgrep build-docker-tools-sad build-docker-tools-scoob build-docker-tools-sd build-docker-tools-shfmt build-docker-tools-skim build-docker-tools-sops build-docker-tools-starship build-docker-tools-tojson build-docker-tools-tokei build-docker-tools-ttdl build-docker-tools-upx build-docker-tools-yq
build-docker-builder-rust-alpine:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/builder/rust/alpine/build.sh
build-docker-devcontainer-core-alpine:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/devcontainer/core/alpine/build.sh
build-docker-devcontainer-golang-alpine:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/devcontainer/golang/alpine/build.sh
build-docker-devcontainer-rust-base-alpine:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/devcontainer/rust/base/alpine/build.sh
build-docker-devcontainer-rust-base-debian:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/devcontainer/rust/base/debian/build.sh
build-docker-devcontainer-rust-vscode-debian:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/devcontainer/rust/vscode/debian/build.sh
build-docker-gitpod-alpine:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/gitpod/alpine/build.sh
build-docker-gitpod-archlinux:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/gitpod/archlinux/build.sh
build-docker-gitpod-ubuntu:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/gitpod/ubuntu/build.sh
build-docker-stacks-hashicorp:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/stacks/hashicorp/build.sh
build-docker-tools-bat:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/bat/build.sh
build-docker-tools-cellar:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/cellar/build.sh
build-docker-tools-clog:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/clog/build.sh
build-docker-tools-convco:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/convco/build.sh
build-docker-tools-curl:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/curl/build.sh
build-docker-tools-delta:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/delta/build.sh
build-docker-tools-exa:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/exa/build.sh
build-docker-tools-fd:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/fd/build.sh
build-docker-tools-hyperfine:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/hyperfine/build.sh
build-docker-tools-jen:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/jen/build.sh
build-docker-tools-jsonfmt:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/jsonfmt/build.sh
build-docker-tools-just:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/just/build.sh
build-docker-tools-petname:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/petname/build.sh
build-docker-tools-releez:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/releez/build.sh
build-docker-tools-ripgrep:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/ripgrep/build.sh
build-docker-tools-sad:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/sad/build.sh
build-docker-tools-scoob:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/scoob/build.sh
build-docker-tools-sd:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/sd/build.sh
build-docker-tools-shfmt:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/shfmt/build.sh
build-docker-tools-skim:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/skim/build.sh
build-docker-tools-sops:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/sops/build.sh
build-docker-tools-starship:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/starship/build.sh
build-docker-tools-tojson:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/tojson/build.sh
build-docker-tools-tokei:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/tokei/build.sh
build-docker-tools-ttdl:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/ttdl/build.sh
build-docker-tools-upx:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/upx/build.sh
build-docker-tools-yq:
#!/usr/bin/env bash
set -euo pipefail ;
bash ./docker/tools/yq/build.sh