spec for building images