o2r-project / erc-spec

Executable Research Compendium specification and guides
https://o2r.info/erc-spec/
Creative Commons Zero v1.0 Universal
7 stars 5 forks source link

Allow configuration of environment variables for the runtime environment #64

Open nuest opened 6 years ago

nuest commented 6 years ago
id: b9b0099e-9f8d-4a33-8acf-cb0c062efaec
version: 1
execution:
  environment:
    - TZ=CET

The only option for run is environment to set environment variables inside containers as defined in docker-compose. Environment variables are defined as a list of strings. Key and value are separated by =.

The environment variables SHOULD be used to fix settings out of control of the contained code that can hinder successful ERC checking, e.g. by setting a time zone to avoid issues during checking.