couler-proj / couler

Unified Interface for Constructing and Managing Workflows on different workflow engines, such as Argo Workflows, Tekton Pipelines, and Apache Airflow.

Home Page:https://couler-proj.github.io/couler/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `WorkingDir` field when creating containers

inohmonton99 opened this issue · comments

Per our discussion offline, this is a request to support workingDir at container spec level, e.g. :

- container:
    args:
    - |
      apt-get update \
      && apt-get install -y git wget libglib2.0-0 libsm6 libxext6 libxrender-dev \
      && pip install -r requirements.txt
      && cd /mnt/src/ \
      && python ...
    command:
    - sh
    - -c
    image: xxx
    workingDir: /mnt/src