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

Commit 96976e3

Browse files
committed
Added supdock
1 parent 66c5617 commit 96976e3

File tree

3 files changed

+51
-0
lines changed

3 files changed

+51
-0
lines changed

renovate.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4969,6 +4969,16 @@
49694969
],
49704970
"versioningTemplate": "loose"
49714971
},
4972+
{
4973+
"datasourceTemplate": "github-releases",
4974+
"depNameTemplate": "segersniels/supdock",
4975+
"fileMatch": [
4976+
"^tools/supdock/manifest.yaml$"
4977+
],
4978+
"matchStrings": [
4979+
"version: \"?(?<currentValue>.*?)\"?\\n"
4980+
]
4981+
},
49724982
{
49734983
"datasourceTemplate": "github-releases",
49744984
"depNameTemplate": "danielfoehrKn/kubeswitch",

tools/supdock/Dockerfile.template

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
curl --silent --location --fail --output "${prefix}${target}/bin/supdock" \
10+
"https://github.com/segersniels/supdock/releases/download/${version}/supdock-${alt_arch}-linux"
11+
chmod +x "${prefix}${target}/bin/supdock"
12+
EOF
13+
14+
# completion
15+
#RUN <<EOF
16+
#"${prefix}${target}/bin/foo" completion bash >"${prefix}${target}/share/bash-completion/completions/foo"
17+
#"${prefix}${target}/bin/foo" completion fish >"${prefix}${target}/share/fish/vendor_completions.d/foo.fish"
18+
#"${prefix}${target}/bin/foo" completion zsh >"${prefix}${target}/share/zsh/vendor-completions/_foo"
19+
#EOF

tools/supdock/manifest.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# yaml-language-server: $schema=https://docker-setup.dille.io/schema.yaml
2+
$schema: https://docker-setup.dille.io/schema.yaml
3+
name: supdock
4+
version: "3.1.0"
5+
check: ${binary} --version | cut -d' ' -f2
6+
platforms:
7+
- linux/amd64
8+
- linux/arm64
9+
tags:
10+
- category/operations
11+
- lang/rust
12+
- type/cli
13+
homepage: https://github.com/segersniels/supdock
14+
description: Slightly more visual way to interact with the docker daemon
15+
usage: |
16+
supdock is a wrapper around docker that provides a more visual way to interact with the docker daemon:
17+
18+
alias docker=supdock
19+
renovate:
20+
datasource: github-releases
21+
package: segersniels/supdock
22+
priority: medium

0 commit comments

Comments
 (0)