#Download Dagger Engine Image through Artifactory
1 messages · Page 1 of 1 (latest)
👋 setting the variable _EXPERIMENTAL_DAGGER_RUNNER_HOST=docker-image://myregistry.com/myimage should do it. ref: https://docs.dagger.io/configuration/custom-runner/#connection-interface
Great thanks, took a bit of working out how to sort Artifactory config and what is pulled but got it working with this form of variable
export _EXPERIMENTAL_DAGGER_RUNNER_HOST=docker-image://my-artifactory.server.com/dagger-remote-repo/engine
This is how we setup Dagger to use Artifactory as a proxy:
export _EXPERIMENTAL_DAGGER_RUNNER_HOST=docker-image://my-artifactory.server.com/ghcr/dagger/engine:$(dagger version | sed -n 's/.*registry\.dagger\.io\/engine:\([^)]*\).*/\1/p')
For our Python modules we set the following in pyproject.toml:
[tool.dagger]
base-image = "my-artifactory.server.com/docker/library/python:3.12-slim"