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

Commit c6d85fd

Browse files
committed
Added runlike
1 parent 4e1f28c commit c6d85fd

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

renovate.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4564,6 +4564,16 @@
45644564
"version: \"?(?<currentValue>.*?)\"?\\n"
45654565
]
45664566
},
4567+
{
4568+
"datasourceTemplate": "github-releases",
4569+
"depNameTemplate": "lavie/runlike",
4570+
"fileMatch": [
4571+
"^tools/runlike/manifest.yaml$"
4572+
],
4573+
"matchStrings": [
4574+
"version: \"?(?<currentValue>.*?)\"?\\n"
4575+
]
4576+
},
45674577
{
45684578
"datasourceTemplate": "github-releases",
45694579
"depNameTemplate": "rust-lang/rust",

tools/runlike/Dockerfile.template

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#syntax=docker/dockerfile:1.5.2
2+
3+
ARG ref=main
4+
5+
FROM ghcr.io/nicholasdille/docker-setup/python:${ref} AS python
6+
FROM ghcr.io/nicholasdille/docker-setup/shiv:${ref} AS shiv
7+
8+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
9+
ARG name
10+
ARG version
11+
COPY --link --from=python / /
12+
COPY --link --from=shiv / /
13+
RUN <<EOF
14+
shiv --output-file "${prefix}${target}/bin/runlike" --console-script runlike "runlike==${version}"
15+
EOF

tools/runlike/manifest.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# yaml-language-server: $schema=https://docker-setup.dille.io/schema.yaml
2+
$schema: https://docker-setup.dille.io/schema.yaml
3+
name: runlike
4+
version: "1.4.2"
5+
check: "" # No version parameter
6+
platforms:
7+
- linux/amd64
8+
- linux/arm64
9+
tags:
10+
- category/operations
11+
- lang/python
12+
- type/cli
13+
homepage: https://github.com/lavie/runlike
14+
description: Given an existing docker container, prints the command line necessary to run a copy of it
15+
renovate:
16+
datasource: github-releases
17+
package: lavie/runlike
18+
priority: low

0 commit comments

Comments
 (0)