#Download Dagger Engine Image through Artifactory

1 messages · Page 1 of 1 (latest)

ebon pilot
#

Hi, we have a standard policy to download external packages and Docker images through a virtual repository on our JFrog Artifactory instance so they can be scanned for vulnerabilities with Xray. Is there a way to configure Dagger to download the Dagger engine image from a different location like Artifactory?

austere snow
ebon pilot
strong ocean
#

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"