Compare commits
No commits in common. "9a4139daac8ca19c3e349b8c05c497de797735a0" and "48378ca4ede7f119c26fe04d6aa733cdcd317d11" have entirely different histories.
9a4139daac
...
48378ca4ed
@ -1 +0,0 @@
|
|||||||
1
|
|
||||||
@ -1,21 +0,0 @@
|
|||||||
FROM git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
|
|
||||||
# Create output directory for RPMs
|
|
||||||
RUN mkdir -p /app/dist
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
ARG PACKAGE_RELEASE
|
|
||||||
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
|
|
||||||
ARG PACKAGE_VERSION
|
|
||||||
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
|
|
||||||
|
|
||||||
# Copy nfpm.yaml from the context into the container
|
|
||||||
COPY resources /app/resources
|
|
||||||
|
|
||||||
# Download the required files
|
|
||||||
RUN curl --output - -L https://github.com/onedr0p/exportarr/releases/download/v${PACKAGE_VERSION}/exportarr_${PACKAGE_VERSION}_linux_amd64.tar.gz | tar --strip-components=1 -xzf -
|
|
||||||
|
|
||||||
# Default command to build RPMs
|
|
||||||
CMD /app/resources/build.sh
|
|
||||||
@ -1,2 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
|
||||||
@ -1,37 +0,0 @@
|
|||||||
# nfpm.yaml
|
|
||||||
|
|
||||||
name: exportarr
|
|
||||||
version: ${PACKAGE_VERSION}
|
|
||||||
release: ${PACKAGE_RELEASE}
|
|
||||||
arch: amd64
|
|
||||||
platform: linux
|
|
||||||
section: default
|
|
||||||
priority: extra
|
|
||||||
description: "AIO Prometheus Exporter for Sabnzbd, Bazarr, Prowlarr, Lidarr, Readarr, Radarr, and Sonarr"
|
|
||||||
maintainer: onedr0p
|
|
||||||
homepage: https://github.com/onedr0p/exportarr
|
|
||||||
license: MIT license
|
|
||||||
|
|
||||||
disable_globbing: false
|
|
||||||
|
|
||||||
replaces:
|
|
||||||
- exportarr
|
|
||||||
|
|
||||||
provides:
|
|
||||||
- exportarr
|
|
||||||
|
|
||||||
# Files to include in the package
|
|
||||||
contents:
|
|
||||||
- src: /app/exportarr
|
|
||||||
dst: /usr/bin/exportarr
|
|
||||||
file_info:
|
|
||||||
mode: 0755
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
|
|
||||||
# Scripts to run during installation/removal (optional)
|
|
||||||
# scripts:
|
|
||||||
# preinstall: ./scripts/preinstall.sh
|
|
||||||
# postinstall: ./scripts/postinstall.sh
|
|
||||||
# preremove: ./scripts/preremove.sh
|
|
||||||
# postremove: ./scripts/postremove.sh
|
|
||||||
Loading…
Reference in New Issue
Block a user