TheRacetrack / racetrack

An opinionated framework for deploying, managing, and serving application workloads
https://theracetrack.github.io/racetrack/
Apache License 2.0
28 stars 5 forks source link

Provide its own Dockerfile by a Job #470

Closed iszulcdeepsense closed 3 weeks ago

iszulcdeepsense commented 4 weeks ago

Usually a Dockerfile template is provided by a job type plugin. However, in some cases the Dockerfile could come from a Job's repository. In particular, this is to re-enable "Dockerfile" job type after making changes https://github.com/TheRacetrack/racetrack/issues/403 and https://github.com/TheRacetrack/racetrack/pull/249

Plus, it should be stated clearly by a job type that a provided file is a Jinja template or a pure Dockerfile. This would probably change the interface of a job type definitions provided by plugins.