Add userID control over compose containers

This commit is contained in:
Cyber MacGeddon 2025-01-02 14:48:32 +00:00
parent 44c0d6f347
commit 08be8b288f

View file

@ -22,6 +22,8 @@
with_image:: function(x) self + { image: x },
with_user:: function(x) self + { user: x },
with_command:: function(x) self + { command: x },
with_environment:: function(x) self + {
@ -75,6 +77,10 @@
{ command: container.command }
else {}) +
(if std.objectHas(container, "user") then
{ user: container.user }
else {}) +
(if ! std.isEmpty(container.environment) then
{ environment: container.environment }
else {}) +