https://dagster.io/ logo
#dagster-support
Title
# dagster-support
m

Mykola Palamarchuk

06/27/2022, 1:17 PM
Hi team! I'm trying to build container for user deployments but running by a nonroot user. I'm curious about potential caveats. Especially I'd like to know about DAGSTER_HOME and if I should change it according to the nonroot user home?
d

daniel

06/27/2022, 2:37 PM
Hi Mykola - I don't think user code deployments need to have DAGSTER_HOME set at all, so I don't expect any issues there. cc @johann who has investigated this in the past, but I don't recall any big Dagster-specific gotchas here.
m

Mykola Palamarchuk

06/28/2022, 5:29 AM
@daniel, I have another related question. Current dagster-user-deployments approach uses
dagster
as an entry point (that is defined in helm chart). I'm curious about a possibility to use "distroless" images (https://github.com/GoogleContainerTools/distroless), which don't have "shell" and the stuff, but only python. So it would be great to make it possible to define my own entry point and params in Dockerfile.
d

daniel

06/28/2022, 2:06 PM
dagster is going to inject the k8s args as "dagster api grpc" / "dagster api execute_run" / etc. and expect that to work - but you can point 'dagster' within your image at whatever executable you like, as long as those commands work
2 Views