From 81ef5987de7cc329e7b5de22695adabce2c55cdf Mon Sep 17 00:00:00 2001 From: Robert Gogolok Date: Mon, 9 Dec 2024 22:57:32 +0100 Subject: [PATCH] Support FreeBSD build phase Signed-off-by: Robert Gogolok --- ...{dockerfile_applier_darwin.go => dockerfile_applier_unix.go} | 2 +- priv/{user_darwin.go => user_unix.go} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename internal/extend/kaniko/{dockerfile_applier_darwin.go => dockerfile_applier_unix.go} (93%) rename priv/{user_darwin.go => user_unix.go} (90%) diff --git a/internal/extend/kaniko/dockerfile_applier_darwin.go b/internal/extend/kaniko/dockerfile_applier_unix.go similarity index 93% rename from internal/extend/kaniko/dockerfile_applier_darwin.go rename to internal/extend/kaniko/dockerfile_applier_unix.go index 6bd474ff6..60f803a4b 100644 --- a/internal/extend/kaniko/dockerfile_applier_darwin.go +++ b/internal/extend/kaniko/dockerfile_applier_unix.go @@ -1,4 +1,4 @@ -//go:build darwin +//go:build unix && !linux package kaniko diff --git a/priv/user_darwin.go b/priv/user_unix.go similarity index 90% rename from priv/user_darwin.go rename to priv/user_unix.go index be3b5b857..acaf710fd 100644 --- a/priv/user_darwin.go +++ b/priv/user_unix.go @@ -1,3 +1,5 @@ +//go:build unix && !linux + package priv import "os"