docker-library / pypy

Docker Official Image packaging for pypy
http://pypy.org/
MIT License
69 stars 46 forks source link

Add support for multiple architectures #16

Closed tianon closed 7 years ago

tianon commented 7 years ago

PyPy is a little special, and the list of supported architectures sometimes fluctuates over time, so I've adapted the update scripts to take that into account and to vary the output of generate-stackbrew-library.sh accordingly.

$ diff -u <(bashbrew cat pypy) <(bashbrew cat <(./generate-stackbrew-library.sh))--- /dev/fd/63 2017-08-24 16:21:25.818694503 -0700
+++ /dev/fd/62  2017-08-24 16:21:25.819694475 -0700
@@ -2,23 +2,26 @@
 GitRepo: https://github.com/docker-library/pypy.git

 Tags: 2-5.8.0, 2-5.8, 2-5, 2
-GitCommit: bff939590214797aeb1f5d1c30166edceef2eb6d
+Architectures: amd64, arm32v5, arm32v7, i386
+GitCommit: ae4d6e7d038eb080a55fc3d8d91594505e0f4030
 Directory: 2

 Tags: 2-5.8.0-slim, 2-5.8-slim, 2-5-slim, 2-slim
-GitCommit: bff939590214797aeb1f5d1c30166edceef2eb6d
+Architectures: amd64, arm32v5, arm32v7, i386
+GitCommit: ae4d6e7d038eb080a55fc3d8d91594505e0f4030
 Directory: 2/slim

 Tags: 2-5.8.0-onbuild, 2-5.8-onbuild, 2-5-onbuild, 2-onbuild
+Architectures: amd64, arm32v5, arm32v7, i386
 GitCommit: b48e8489ab794a2bacfd396c2f8e1a5b06d6ae48
 Directory: 2/onbuild

 Tags: 3-5.8.0, 3-5.8, 3-5, 3, latest
-GitCommit: bff939590214797aeb1f5d1c30166edceef2eb6d
+GitCommit: ae4d6e7d038eb080a55fc3d8d91594505e0f4030
 Directory: 3

 Tags: 3-5.8.0-slim, 3-5.8-slim, 3-5-slim, 3-slim, slim
-GitCommit: bff939590214797aeb1f5d1c30166edceef2eb6d
+GitCommit: ae4d6e7d038eb080a55fc3d8d91594505e0f4030
 Directory: 3/slim

 Tags: 3-5.8.0-onbuild, 3-5.8-onbuild, 3-5-onbuild, 3-onbuild, onbuild

I've tested building 2 on amd64, arm32v5, arm32v7, and i386 (and ppc64le/s390x, but noted their failures in release-architectures -- looking for a .so that Debian doesn't have).

See also docker-library/buildpack-deps#59, docker-library/golang#163, docker-library/docker#63, docker-library/gcc#36, jessfraz/irssi#15, docker-library/redis#95, docker-library/openjdk#121, docker-library/postgres#298, docker-library/haproxy#41, docker-library/httpd#55, docker-library/memcached#19, docker-library/tomcat#73, docker-library/ruby#133, docker-library/python#206, docker-library/php#454, docker-library/wordpress#223, docker-library/rabbitmq#167, docker-library/cassandra#115, docker-library/drupal#90, docker-library/ghost#82, docker-library/julia#15, https://github.com/docker-library/owncloud/pull/91.