This repository was archived by the owner on Oct 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +60
-0
lines changed Expand file tree Collapse file tree 3 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1515
1515
"depNameTemplate" : " falcosecurity/falcosidekick" ,
1516
1516
"datasourceTemplate" : " github-releases"
1517
1517
},
1518
+ {
1519
+ "fileMatch" : [
1520
+ " ^tools/fd/manifest.yaml$"
1521
+ ],
1522
+ "matchStrings" : [
1523
+ " version: \" ?(?<currentValue>.*?)\" ?\\ n"
1524
+ ],
1525
+ "depNameTemplate" : " sharkdp/fd" ,
1526
+ "datasourceTemplate" : " github-releases" ,
1527
+ "extractVersionTemplate" : " ^v(?<version>.+?)$"
1528
+ },
1518
1529
{
1519
1530
"fileMatch" : [
1520
1531
" ^tools/figlet/manifest.yaml$"
Original file line number Diff line number Diff line change
1
+ #syntax=docker/dockerfile:1.5.2
2
+
3
+ ARG ref=main
4
+
5
+ FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6
+ ARG name
7
+ ARG version
8
+ RUN <<EOF
9
+ case "${alt_arch}" in
10
+ amd64)
11
+ export suffix="musl"
12
+ ;;
13
+ arm64)
14
+ export suffix="gnu"
15
+ ;;
16
+ *)
17
+ echo "ERROR: Unsupported architecture (${alt_arch})."
18
+ exit 1
19
+ ;;
20
+ esac
21
+ curl --silent --location --fail "https://github.com/sharkdp/fd/releases/download/v${version}/fd-v${version}-${arch}-unknown-linux-${suffix}.tar.gz" \
22
+ | tar --extract --gzip --directory="${prefix}${target}/bin/" --strip-components=1 --no-same-owner \
23
+ "fd-v${version}-${arch}-unknown-linux-${suffix}/fd" \
24
+ "fd-v${version}-${arch}-unknown-linux-${suffix}/fd.1" \
25
+ "fd-v${version}-${arch}-unknown-linux-${suffix}/autocomplete"
26
+
27
+ mv "${prefix}${target}/bin/fd.1" "${prefix}${target}/share/man/man1/"
28
+
29
+ mv "${prefix}${target}/bin/autocomplete/fd.bash" "${prefix}${target}/share/bash-completion/completions/fd"
30
+ mv "${prefix}${target}/bin/autocomplete/fd.fish" "${prefix}${target}/share/fish/vendor_completions.d/fd.fish"
31
+ mv "${prefix}${target}/bin/autocomplete/_fd" "${prefix}${target}/share/zsh/vendor-completions/_fd"
32
+ rm -rf "${prefix}${target}/bin/autocomplete"
33
+ EOF
Original file line number Diff line number Diff line change
1
+ name : fd
2
+ version : " 8.7.0"
3
+ check : ${binary} --version | cut -d' ' -f2
4
+ platforms :
5
+ - linux/amd64
6
+ - linux/arm64
7
+ tags :
8
+ - category/operations
9
+ - lang/rust
10
+ - type/cli
11
+ homepage : https://github.com/sharkdp/fd
12
+ description : Simple, fast and user-friendly alternative to 'find'
13
+ renovate :
14
+ datasource : github-releases
15
+ package : sharkdp/fd
16
+ extractVersion : ^v(?<version>.+?)$
You can’t perform that action at this time.
0 commit comments