Add comment
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 36s
Smoke Test / Run basic test suite (pull_request) Successful in 4m38s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m14s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m25s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m39s

This commit is contained in:
David Boreham 2024-07-31 07:26:41 -06:00
parent 0fa6e9f649
commit a0bb90fd50

View File

@ -82,6 +82,8 @@ def run_container_command(ctx: DeployCommandContext, service: str, command: str,
docker_output = deployer.run( docker_output = deployer.run(
container_image, container_image,
["-c", command], entrypoint="sh", ["-c", command], entrypoint="sh",
# Current laconicd container has a bug where it crashes when run not as root
# Commented out line below is a workaround. Created files end up owned by root on the host
# user=f"{os.getuid()}:{os.getgid()}", # user=f"{os.getuid()}:{os.getgid()}",
volumes=docker_volumes volumes=docker_volumes
) )