commit
0fcbb08e84
@ -0,0 +1 @@
|
||||
8c38385284b649b7ffed89c98982d903e4c9dd06 SOURCES/dockle-0.4.15.tar.xz
|
@ -0,0 +1 @@
|
||||
SOURCES/dockle-0.4.15.tar.xz
|
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
CDIR=$(pwd)
|
||||
|
||||
export GOPATH=${CDIR}/mod
|
||||
mkdir ./build
|
||||
|
||||
GO111MODULE=on go build -o ${CDIR}/build/dockle cmd/dockle/main.go
|
@ -0,0 +1,42 @@
|
||||
Summary: A Security and Dockerfile checker for Containers
|
||||
Name: dockle
|
||||
Version: 0.4.15
|
||||
Release: 1%{?dist}
|
||||
|
||||
Url: https://github.com/goodwithtech
|
||||
License: GPLv2+
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: build.sh
|
||||
|
||||
Requires: bash
|
||||
|
||||
BuildRequires: btrfs-progs-devel
|
||||
BuildRequires: golang-bin
|
||||
|
||||
%global debug_package %{nil}
|
||||
%define _build_id_links none
|
||||
|
||||
%description
|
||||
A Security and Dockerfile checker for Containers
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
cp -a %{SOURCE1} .
|
||||
./build.sh
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
cp -a ./build/dockle %{buildroot}%{_bindir}
|
||||
|
||||
%files
|
||||
%{_bindir}/dockle
|
||||
|
||||
%changelog
|
||||
* Thu Jan 16 2025 Dmitriy Samoylik <samoylikdv@msvsphere-os.ru> - 0.4.15-1
|
||||
- Rebuilt for MSVSphere 10
|
||||
|
||||
* Thu Jan 16 2025 Dmitriy Samoylik <samoylikdv@msvsphere-os.ru> - 0.4.15-1
|
||||
- Initial build
|
||||
|
Loading…
Reference in new issue