diff --git a/renovate.json b/renovate.json index 184cca7c27..8f86f5f1f8 100644 --- a/renovate.json +++ b/renovate.json @@ -2639,6 +2639,18 @@ "version: \"?(?.*?)\"?\\n" ] }, + { + "customType": "regex", + "datasourceTemplate": "github-releases", + "depNameTemplate": "flox/flox", + "extractVersionTemplate": "^v(?.+)$", + "fileMatch": [ + "^tools/flox/manifest.yaml$" + ], + "matchStrings": [ + "version: \"?(?.*?)\"?\\n" + ] + }, { "customType": "regex", "datasourceTemplate": "github-releases", diff --git a/tools/flox/Dockerfile.template b/tools/flox/Dockerfile.template new file mode 100644 index 0000000000..1e48008878 --- /dev/null +++ b/tools/flox/Dockerfile.template @@ -0,0 +1,125 @@ +#syntax=docker/dockerfile:1.8.1 + +FROM ghcr.io/uniget-org/tools/rust:latest AS rust + +FROM ghcr.io/uniget-org/images/build-essential:24.04 AS prepare +COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \ + /etc/profile.d/ \ + /etc/profile.d/ +SHELL [ "bash", "-clo", "errexit" ] +COPY --link --from=rust / /usr/local/ +RUN <"${prefix}/share/bash-completion/completions/foo" +#"${prefix}/bin/foo" completion fish >"${prefix}/share/fish/vendor_completions.d/foo.fish" +#"${prefix}/bin/foo" completion zsh >"${prefix}/share/zsh/vendor-completions/_foo" +#EOF \ No newline at end of file diff --git a/tools/flox/manifest.yaml b/tools/flox/manifest.yaml new file mode 100644 index 0000000000..bd11ec19c5 --- /dev/null +++ b/tools/flox/manifest.yaml @@ -0,0 +1,20 @@ +# yaml-language-server: $schema=https://tools.uniget.dev/schema.yaml +$schema: https://tools.uniget.dev/schema.yaml +name: flox +version: "1.3.8" +check: ${binary} --version | cut -d- -f1 +platforms: +- linux/amd64 +#- linux/arm64 +tags: +- category/development +- lang/rust +- type/cli +homepage: https://flox.dev/ +repository: https://github.com/flox/flox +description: Developer environments you can take with you +renovate: + datasource: github-releases + package: flox/flox + extractVersion: ^v(?.+)$ + priority: low \ No newline at end of file