From ed272da302738bf0b44e36ba4e57ae29554ea786 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Fri, 26 Jul 2019 12:25:47 -0500 Subject: [PATCH] Add script to update multiarch manifest --- development/update-multiarch.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 development/update-multiarch.sh diff --git a/development/update-multiarch.sh b/development/update-multiarch.sh new file mode 100755 index 00000000..06639072 --- /dev/null +++ b/development/update-multiarch.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +manifest="itzg/minecraft-server:multiarch" + +for t in latest rpi3 aarch64; do + docker pull itzg/minecraft-server:$t +done + +docker manifest create --amend ${manifest} \ + itzg/minecraft-server:aarch64 \ + itzg/minecraft-server:latest \ + itzg/minecraft-server:rpi3 + +docker manifest annotate --os linux --arch amd64 ${manifest} itzg/minecraft-server:latest +docker manifest annotate --os linux --arch arm64 ${manifest} itzg/minecraft-server:aarch64 +docker manifest annotate --os linux --arch arm --variant v7 ${manifest} itzg/minecraft-server:rpi3 + +docker manifest push ${manifest} \ No newline at end of file