From 9805c1eaf8c9bd81bb4ef6c2a1bf7a8d72b52d15 Mon Sep 17 00:00:00 2001 From: Arthur Barr Date: Wed, 13 Jun 2018 16:46:26 +0100 Subject: [PATCH] Add fat manifests for Docker Hub --- manifests/README.md | 10 ++++++++++ manifests/manifest-9-cd.yaml | 29 +++++++++++++++++++++++++++++ manifests/manifest-9.yaml | 29 +++++++++++++++++++++++++++++ manifests/manifest-cd.yaml | 29 +++++++++++++++++++++++++++++ manifests/manifest-latest.yaml | 29 +++++++++++++++++++++++++++++ 5 files changed, 126 insertions(+) create mode 100644 manifests/README.md create mode 100644 manifests/manifest-9-cd.yaml create mode 100644 manifests/manifest-9.yaml create mode 100644 manifests/manifest-cd.yaml create mode 100644 manifests/manifest-latest.yaml diff --git a/manifests/README.md b/manifests/README.md new file mode 100644 index 0000000..8810c82 --- /dev/null +++ b/manifests/README.md @@ -0,0 +1,10 @@ +Fat manifests +============= + +These are the fat manifests used by Docker Hub to handle images with multiple CPU architectures. + +They are used in conjunction with [manifest-tool](https://github.com/estesp/manifest-tool), for example: + +```sh +manifest-tool push from-spec manifest-latest.yaml +``` diff --git a/manifests/manifest-9-cd.yaml b/manifests/manifest-9-cd.yaml new file mode 100644 index 0000000..c96b320 --- /dev/null +++ b/manifests/manifest-9-cd.yaml @@ -0,0 +1,29 @@ +# © Copyright IBM Corporation 2018 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +image: ibmcom/mq:9-cd +manifests: + - image: ibmcom/mq:9.0.5.0-x86_64 + platform: + architecture: amd64 + os: linux + - image: ibmcom/mq:9.0.5.0-ppc64le + platform: + architecture: ppc64le + os: linux + - image: ibmcom/mq:9.0.5.0-s390x + platform: + architecture: s390x + os: linux + diff --git a/manifests/manifest-9.yaml b/manifests/manifest-9.yaml new file mode 100644 index 0000000..f97f076 --- /dev/null +++ b/manifests/manifest-9.yaml @@ -0,0 +1,29 @@ +# © Copyright IBM Corporation 2018 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +image: ibmcom/mq:9 +manifests: + - image: ibmcom/mq:9.0.5.0-x86_64 + platform: + architecture: amd64 + os: linux + - image: ibmcom/mq:9.0.5.0-ppc64le + platform: + architecture: ppc64le + os: linux + - image: ibmcom/mq:9.0.5.0-s390x + platform: + architecture: s390x + os: linux + diff --git a/manifests/manifest-cd.yaml b/manifests/manifest-cd.yaml new file mode 100644 index 0000000..6cb173c --- /dev/null +++ b/manifests/manifest-cd.yaml @@ -0,0 +1,29 @@ +# © Copyright IBM Corporation 2018 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +image: ibmcom/mq:cd +manifests: + - image: ibmcom/mq:9.0.5.0-x86_64 + platform: + architecture: amd64 + os: linux + - image: ibmcom/mq:9.0.5.0-ppc64le + platform: + architecture: ppc64le + os: linux + - image: ibmcom/mq:9.0.5.0-s390x + platform: + architecture: s390x + os: linux + diff --git a/manifests/manifest-latest.yaml b/manifests/manifest-latest.yaml new file mode 100644 index 0000000..db5eb53 --- /dev/null +++ b/manifests/manifest-latest.yaml @@ -0,0 +1,29 @@ +# © Copyright IBM Corporation 2018 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +image: ibmcom/mq:latest +manifests: + - image: ibmcom/mq:9.0.5.0-x86_64 + platform: + architecture: amd64 + os: linux + - image: ibmcom/mq:9.0.5.0-ppc64le + platform: + architecture: ppc64le + os: linux + - image: ibmcom/mq:9.0.5.0-s390x + platform: + architecture: s390x + os: linux +