fix: statically compile docker-slim go binaries

This commit is contained in:
Martin Löper
2025-01-11 21:32:05 +01:00
parent 09eed56512
commit ca5df65ceb
+7 -5
View File
@@ -1,8 +1,8 @@
{
lib,
buildGoModule,
fetchFromGitHub,
makeBinaryWrapper,
{ lib
, buildGoModule
, fetchFromGitHub
, makeBinaryWrapper
,
}:
buildGoModule rec {
@@ -18,6 +18,8 @@ buildGoModule rec {
vendorHash = null;
env.CGO_ENABLED = 0;
subPackages = [
"cmd/slim"
"cmd/slim-sensor"