Dockerization of scriptworkers
Every scriptworker has its own Dockerfile in the root directory. The commands
are limited to the version used in Taskcluster and may not support newer
features. The file is kept simple and most of the logic is handled by files in
the docker.d directory.
docker.d/init.shThis file contains logic that is the same for all workers.
$script/docker.d/init_worker.shThis file contains logic that is worker specific.
Both init files explicitly use shell’s test to check for all required
environment variables in order to fail as soon as possible.
$script/docker.d/worker.ymlThese files are JSON-e templates for scriptworker and the implementation script. The final configs are generated during the initial boot process.