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

manrique

07/12/2022, 6:44 AM
hello everyone, im new to dagster and trying to recreate the image deployment describe here: https://github.com/dagster-io/dagster/tree/master/python_modules/automation/automation/docker/images How do I install the
dagster-image
cli?
dagster-image build-all --name <YOUR IMAGE>
I tried running
pip install -e .
from setup.py folder https://github.com/dagster-io/dagster/blob/master/python_modules/automation/setup.py to install the command
dagster-image
, but i get an error below:
[Errno 2] No such file or directory: b'/sbin/dagster-image'
d

daniel

07/13/2022, 8:55 PM
Hi, that file is more for building our CI/CD images than something that I'd expect to be useful in general. Runing
docker build
or accessing the images on Dockerhub to use as base images may be a better option
m

manrique

07/21/2022, 4:36 PM
thanks @daniel! i was trying to build this "build_cache" folder use in command
COPY build_cache/ /
from Dockerfile in "docker/images/user-code-example". I cannot find it elsewhere. How do I generate this
build_cache
folder?
d

daniel

07/21/2022, 5:17 PM
Could you say more about what you're hoping to accomplish at a high level?
m

manrique

07/21/2022, 5:33 PM
I'm deploying Dagster in Kubernetes, and i am replacing
user-code-example
with my own pipeline.
user-code-exmaple
uses this example project and i have a similar folder https://github.com/dagster-io/dagster/tree/master/examples/deploy_k8s/example_project
d

daniel

07/21/2022, 5:35 PM
I think you can copy the folder with your code in it in your Dockerfile with a COPY command directly
COPY <folder with your code in it> /
🌈 1