Tag: python manylinux

Docker映像初始文件系统从哪里来?

我在https://github.com/pypa/manylinux查看manylinux1股票图像构build脚本,特别是调用链: .travis.yml <…> script: – docker build –rm -t quay.io/pypa/manylinux1_$PLATFORM:$TRAVIS_COMMIT -f docker/Dockerfile-$PLATFORM docker/ docker/Dockerfile-<arch> : COPY build_scripts /build_scripts RUN bash build_scripts/build.sh docker/build_scripts/build.sh : <a bunch of variables> sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf <…> 该脚本假定已经存在基本的CentOS 5文件系统(例如/etc/yum )。 它从何而来? 我没有看到任何关于股票图像的引用,或者从某处下载它或使用安装ISO的任何内容。 代码库中的任何地方都没有/etc etc。