Running two containers in a kubernetes job each with their own initContainers
What you are describing is best achieved by either using two jobs or let task 1 also be an init Container as they run in sequence.
Alternatively you could use Argo Workflows. 
https://github.com/argoproj/argo