x86 base image build script