Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit a306479

Browse files
committed
Added colima #2691
1 parent e019aab commit a306479

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,17 @@
543543
"depNameTemplate": "Mic92/cntr",
544544
"datasourceTemplate": "github-releases"
545545
},
546+
{
547+
"fileMatch": [
548+
"^tools/colima/manifest.yaml$"
549+
],
550+
"matchStrings": [
551+
"version: \"?(?<currentValue>.*?)\"?\\n"
552+
],
553+
"depNameTemplate": "abiosoft/colima",
554+
"datasourceTemplate": "github-releases",
555+
"extractVersionTemplate": "^v(?<version>.+?)$"
556+
},
546557
{
547558
"fileMatch": [
548559
"^tools/conftest/manifest.yaml$"

tools/colima/Dockerfile.template

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#syntax=docker/dockerfile:1.4.3
2+
3+
ARG ref=main
4+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
5+
6+
ARG name
7+
ARG version
8+
9+
RUN <<EOF
10+
curl --silent --location --output "${prefix}${target}/bin/colima" \
11+
"https://github.com/abiosoft/colima/releases/download/v${version}/colima-Linux-${arch}"
12+
chmod +x "${prefix}${target}/bin/colima"
13+
"${prefix}${target}/bin/colima" completion bash >"${prefix}${target}/share/bash-completion/completions/colima"
14+
"${prefix}${target}/bin/colima" completion fish >"${prefix}${target}/share/fish/vendor_completions.d/colima.fish"
15+
"${prefix}${target}/bin/colima" completion zsh >"${prefix}${target}/share/zsh/vendor-completions/_colima"
16+
EOF

tools/colima/manifest.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: colima
2+
version: 0.4.5
3+
tags:
4+
- type/cli
5+
- category/development
6+
homepage: https://github.com/abiosoft/colima
7+
description: Container runtimes on macOS (and Linux) with minimal setup
8+
renovate:
9+
datasource: github-releases
10+
package: abiosoft/colima
11+
extractVersion: ^v(?<version>.+?)$

0 commit comments

Comments
 (0)