Move prepare command and repo hard-coding out of dockerfile/platform