Add NFPM packaging recipe
All checks were successful
Cadoles/postgres-backup/pipeline/head This commit looks good
Cadoles/postgres-backup/pipeline/pr-master This commit looks good

This commit is contained in:
2022-10-31 09:51:47 -06:00
parent 174ebb74c7
commit 9f5fb86f90
7 changed files with 129 additions and 0 deletions

9
misc/ci/Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM alpine:3.15
RUN apk add --no-cache make git curl jq bash openssl
RUN curl -k https://forge.cadoles.com/Cadoles/Jenkins/raw/branch/master/resources/com/cadoles/common/add-letsencrypt-ca.sh | bash
RUN wget https://github.com/goreleaser/nfpm/releases/download/v2.20.0/nfpm_2.20.0_Linux_x86_64.tar.gz \
&& tar -xzf nfpm_2.20.0_Linux_x86_64.tar.gz -C /usr/local/bin \
&& chmod +x /usr/local/bin/nfpm