Skip to content

Commit 0a31334

Browse files
committed
Merge a0d46fa; mirror base image change :6.9 -> :6
Like with CentOS 5 there's a CentOS 6 Docker image which is more up to date (tag :6) than the latest release (tag :6.9). See: pypa#206
2 parents 24082fe + a0d46fa commit 0a31334

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ deploy:
3131
script: docker/deploy.sh
3232
on:
3333
branch: master
34+
repo: pypa/manylinux

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -ex
55

66
docker/build_scripts/prefetch.sh openssl curl
77
if [ $PLATFORM == x86_64 ]; then
8-
docker build --rm -t quay.io/pypa/manylinux2010_centos-6.9-no-vsyscall -f docker/glibc/Dockerfile docker/glibc/
8+
docker build --rm -t quay.io/pypa/manylinux2010_centos-6-no-vsyscall -f docker/glibc/Dockerfile docker/glibc/
99
fi
1010
docker build --rm -t quay.io/pypa/manylinux2010_$PLATFORM:$TRAVIS_COMMIT -f docker/Dockerfile-$PLATFORM docker/
1111
docker system prune -f

docker/Dockerfile-x86_64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# See docker/glibc/
2-
FROM quay.io/pypa/manylinux2010_centos-6.9-no-vsyscall
2+
FROM quay.io/pypa/manylinux2010_centos-6-no-vsyscall
33
LABEL maintainer="The ManyLinux project"
44

55
ENV LC_ALL en_US.UTF-8

docker/build_scripts/build.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,9 @@ find /opt/_internal -type f -print0 \
185185
# We do not need the Python test suites, or indeed the precompiled .pyc and
186186
# .pyo files. Partially cribbed from:
187187
# https://github.com/docker-library/python/blob/master/3.4/slim/Dockerfile
188-
find /opt/_internal \
188+
find /opt/_internal -depth \
189189
\( -type d -a -name test -o -name tests \) \
190-
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
191-
-print0 | xargs -0 rm -f
190+
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) | xargs rm -rf
192191

193192
for PYTHON in /opt/python/*/bin/python; do
194193
# Smoke test to make sure that our Pythons work, and do indeed detect as

docker/glibc/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM centos:6.9 as centos-with-vsyscall
1+
FROM centos:6 as centos-with-vsyscall
22

33
COPY ./build_scripts /build_scripts
44
RUN bash /build_scripts/rebuild-glibc-without-vsyscall.sh
55

6-
FROM centos:6.9
6+
FROM centos:6
77
LABEL maintainer="The Manylinux project"
88

99
COPY --from=centos-with-vsyscall /rpms /rpms

0 commit comments

Comments
 (0)