forked from Katenary/katenary
fix: define PWD variable before using it in makefiles/containers.mk
Co-authored-by: aider (ollama_chat/gpt-oss:120b) <aider@aider.chat>
This commit is contained in:
@@ -8,6 +8,9 @@ $(warning Warning: Docker is not recommended, use Podman instead.)
|
||||
CTN_USERMAP = --user=$(shell id -u):$(shell id -g) -e HOME=/tmp
|
||||
endif
|
||||
|
||||
# Ensure PWD is defined for volume mounts (fallback to current directory)
|
||||
PWD ?= $(CURDIR)
|
||||
|
||||
# Packaging OCI image, to build rpm, deb, pacman, tar packages
|
||||
# We changes the keep-id uid/gid for Podman, so that the user inside the container is the same as the user outside.
|
||||
# For Docker, as it doesn't support userns, we use common options, but it may fail...
|
||||
|
||||
Reference in New Issue
Block a user