diff --git a/importer-pipeline.yaml b/importer-pipeline.yaml index ac91473..c227842 100644 --- a/importer-pipeline.yaml +++ b/importer-pipeline.yaml @@ -32,6 +32,12 @@ deploymentSpec: env: - name: REGISTRY_AUTH_FILE value: /mnt/containers/.dockerconfigjson + - name: XDG_CACHE_HOME + value: /tmp + - name: XDG_CONFIG_HOME + value: /tmp + - name: XDG_DATA_HOME + value: /tmp image: registry.stage.redhat.io/rhelai1/instructlab-nvidia-rhel9:1.3.1 pipelineInfo: description: Helper pipeline to the InstructLab pipeline which allows users to seed/import diff --git a/pipeline.py b/pipeline.py index 7a4b8f6..59b9a1f 100644 --- a/pipeline.py +++ b/pipeline.py @@ -468,6 +468,9 @@ def pipeline( use_secret_as_volume( importer_task, "7033380-ilab-pull-secret", mount_path="/mnt/containers" ) + importer_task.set_env_variable("XDG_CACHE_HOME", "/tmp") + importer_task.set_env_variable("XDG_CONFIG_HOME", "/tmp") + importer_task.set_env_variable("XDG_DATA_HOME", "/tmp") return pipeline