mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
Merge pull request #244120 from marsam/update-docker-slim
docker-slim: 1.40.2 -> 1.40.3
This commit is contained in:
commit
5466bf84ae
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "docker-slim";
|
pname = "docker-slim";
|
||||||
version = "1.40.2";
|
version = "1.40.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "slimtoolkit";
|
owner = "slimtoolkit";
|
||||||
repo = "slim";
|
repo = "slim";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-byB7GTw0hHY4dp3CkMCl6ga/Zn82+K6qmyWy6ezCLoE=";
|
hash = "sha256-fXB2rMW73F12ZO1sqUIiaky6LDiMasg3QcIgeWwtkOs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
@ -17,6 +17,10 @@ buildGoModule rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
go generate github.com/docker-slim/docker-slim/pkg/appbom
|
||||||
|
'';
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
"-w"
|
"-w"
|
||||||
|
Loading…
Reference in New Issue
Block a user