This repository was archived by the owner on Oct 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +56
-0
lines changed Expand file tree Collapse file tree 3 files changed +56
-0
lines changed Original file line number Diff line number Diff line change 2263
2263
"extractVersionTemplate" : " ^v(?<version>.+?)$" ,
2264
2264
"versioningTemplate" : " loose"
2265
2265
},
2266
+ {
2267
+ "fileMatch" : [
2268
+ " ^tools/pigz/manifest.yaml$"
2269
+ ],
2270
+ "matchStrings" : [
2271
+ " version: \" ?(?<currentValue>.*?)\" ?\\ n"
2272
+ ],
2273
+ "depNameTemplate" : " madler/pigz" ,
2274
+ "datasourceTemplate" : " github-tags" ,
2275
+ "extractVersionTemplate" : " ^v(?<version>.+?)$" ,
2276
+ "versioningTemplate" : " loose"
2277
+ },
2266
2278
{
2267
2279
"fileMatch" : [
2268
2280
" ^tools/podman/manifest.yaml$"
Original file line number Diff line number Diff line change
1
+ #syntax=docker/dockerfile:1.4.3
2
+
3
+ ARG ref=main
4
+
5
+ FROM ubuntu:22.04 AS build
6
+ RUN <<EOF
7
+ apt-get update
8
+ apt-get -y install --no-install-recommends \
9
+ build-essential \
10
+ zlib1g-dev \
11
+ make \
12
+ git \
13
+ ca-certificates
14
+ EOF
15
+ WORKDIR /tmp/pigz
16
+ ARG name
17
+ ARG version
18
+ RUN <<EOF
19
+ git clone -q --config advice.detachedHead=false --depth 1 --branch "v${version}" https://github.com/madler/pigz .
20
+ make pigz LDFLAGS=-static
21
+ mkdir -p \
22
+ /opt/pigz/bin \
23
+ /opt/pigz/share/man/man1
24
+ cp pigz /opt/pigz/bin/
25
+ cp pigz.1 /opt/pigz/share/man/man1/
26
+ EOF
27
+
28
+ FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
29
+ ARG name
30
+ ARG version
31
+ COPY --from=build /opt/pigz/ ${prefix}${target}/
Original file line number Diff line number Diff line change
1
+ name : pigz
2
+ version : 2.7
3
+ check : ${binary} --version | cut -d' ' -f2
4
+ tags :
5
+ - type/cli
6
+ - compression
7
+ homepage : https://github.com/madler/pigz
8
+ description : Parallel implementation of gzip for modern multi-processor, multi-core machines
9
+ renovate :
10
+ datasource : github-tags
11
+ package : madler/pigz
12
+ extractVersion : ^v(?<version>.+?)$
13
+ versioning : loose
You can’t perform that action at this time.
0 commit comments