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

Commit 7a43608

Browse files
committed
Added shiv #4937
1 parent 4898d8c commit 7a43608

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

renovate.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3932,6 +3932,16 @@
39323932
"datasourceTemplate": "github-releases",
39333933
"extractVersionTemplate": "^v(?<version>.+?)$"
39343934
},
3935+
{
3936+
"fileMatch": [
3937+
"^tools/shiv/manifest.yaml$"
3938+
],
3939+
"matchStrings": [
3940+
"version: \"?(?<currentValue>.*?)\"?\\n"
3941+
],
3942+
"depNameTemplate": "linkedin/shiv",
3943+
"datasourceTemplate": "github-releases"
3944+
},
39353945
{
39363946
"fileMatch": [
39373947
"^tools/shortnames/manifest.yaml$"

tools/shiv/Dockerfile.template

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#syntax=docker/dockerfile:1.5.1
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/shiv" \
10+
"https://github.com/linkedin/shiv/releases/download/${version}/shiv"
11+
chmod +x "${prefix}${target}/bin/shiv"
12+
EOF

tools/shiv/manifest.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: shiv
2+
version: "1.0.3"
3+
check: ""
4+
runtime_dependencies:
5+
- python
6+
tags:
7+
- category/operations
8+
- lang/python
9+
- type/cli
10+
homepage: https://github.com/linkedin/shiv
11+
description: Command line utility for building fully self contained Python zipapps as outlined in PEP 441
12+
renovate:
13+
datasource: github-releases
14+
package: linkedin/shiv

0 commit comments

Comments
 (0)