mirror of https://github.com/sobolevn/git-secret
Fixes alpine releases, refs #659
parent
11daa7fa8f
commit
d2b9184f19
@ -0,0 +1,9 @@
|
||||
FROM alpine:3.13
|
||||
|
||||
LABEL maintainer="mail@sobolevn.me"
|
||||
LABEL vendor="git-secret team"
|
||||
|
||||
RUN apk add --no-cache --update \
|
||||
# Required for our install script:
|
||||
bash \
|
||||
wget
|
@ -0,0 +1,52 @@
|
||||
# Name. (required)
|
||||
name: git-secret
|
||||
|
||||
# Architecture. (required)
|
||||
arch: all
|
||||
|
||||
# Platform.
|
||||
# Defaults to `linux`.
|
||||
platform: linux
|
||||
|
||||
# Version. (required)
|
||||
# This will expand any env var you set in the field, eg version: v${SEMVER}
|
||||
version: $SCRIPT_VERSION
|
||||
version_schema: none
|
||||
|
||||
# Section.
|
||||
section: default
|
||||
|
||||
# Priority.
|
||||
priority: main
|
||||
|
||||
# Maintaner.
|
||||
maintainer: Nikita Sobolev <mail@sobolevn.me>
|
||||
|
||||
# Description.
|
||||
# Defaults to `no description given`.
|
||||
description: A bash-tool to store your private data inside a git repository.
|
||||
|
||||
# Vendor.
|
||||
vendor: git-secret team
|
||||
|
||||
# Package's homepage.
|
||||
homepage: https://git-secret.io
|
||||
|
||||
# License.
|
||||
license: MIT
|
||||
|
||||
# Dependencies.
|
||||
depends:
|
||||
- git
|
||||
- bash
|
||||
- gnupg
|
||||
- gawk
|
||||
- coreutils
|
||||
|
||||
contents:
|
||||
- src: git-secret
|
||||
dst: /usr/bin/git-secret
|
||||
- src: man/man1/*.1
|
||||
dst: /usr/share/man/man1
|
||||
- src: man/man7/*.7
|
||||
dst: /usr/share/man/man7
|
@ -0,0 +1,5 @@
|
||||
sh -c "echo 'https://gitsecret.jfrog.io/artifactory/git-secret-apk/all/main'" >> /etc/apk/repositories
|
||||
wget -O /etc/apk/keys/git-secret-apk.rsa.pub 'https://gitsecret.jfrog.io/artifactory/api/security/keypair/public/repositories/git-secret-apk'
|
||||
apk update && apk add git-secret
|
||||
# Testing, that it worked:
|
||||
git secret --version
|
Loading…
Reference in New Issue