Move docker buildtype into its own package