add image as fallback when manual build is needed

This commit is contained in:
Christoforus Surjoputro 2026-03-23 19:35:32 +07:00
parent 57e8c98d29
commit 888ca47cb6

View file

@ -11,6 +11,9 @@ services:
build: build:
context: .. context: ..
dockerfile: docker/Dockerfile dockerfile: docker/Dockerfile
# Uncomment for manual image builds
# Necessary when Podman requires SELinux to be disabled during the build stage
#image: picoclaw-agent
userns_mode: "keep-id" userns_mode: "keep-id"
user: "${UID:-1000}:${GID:-1000}" user: "${UID:-1000}:${GID:-1000}"
container_name: picoclaw-agent container_name: picoclaw-agent
@ -42,6 +45,9 @@ services:
build: build:
context: .. context: ..
dockerfile: docker/Dockerfile dockerfile: docker/Dockerfile
# Uncomment for manual image builds
# Necessary when Podman requires SELinux to be disabled during the build stage
#image: picoclaw-gateway
userns_mode: "keep-id" userns_mode: "keep-id"
user: "${UID:-1000}:${GID:-1000}" user: "${UID:-1000}:${GID:-1000}"
# Default: SELinux disabled for testing. In production, remove 'label=disable' # Default: SELinux disabled for testing. In production, remove 'label=disable'