From b71afff29fc8bfe441823ad45413e2ebfb7450c4 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sat, 20 Jun 2020 16:05:46 -0500 Subject: [PATCH] misc: removed unused multiarch scripts --- build-multiarch.sh | 34 --------------------------------- development/update-multiarch.sh | 18 ----------------- 2 files changed, 52 deletions(-) delete mode 100644 build-multiarch.sh delete mode 100755 development/update-multiarch.sh diff --git a/build-multiarch.sh b/build-multiarch.sh deleted file mode 100644 index 4694c66e..00000000 --- a/build-multiarch.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -# manually purge any pre-existing manifest list -# since docker manifest command lacks a "remove" operation -rm -rf ~/.docker/manifests/docker.io_itzg_minecraft-server-multiarch - -export DOCKER_BUILDKIT=1 - -docker build --platform linux/arm64 -t itzg/minecraft-server:arm64 . -docker push itzg/minecraft-server:arm64 - -armv7tag=armv7-buildkit -armv7workDir=/tmp/armv7-$$ -git worktree add $armv7workDir armv7 -# sub-shell for build of armv7 -( - cd $armv7workDir - docker build --platform linux/arm/v7 -t itzg/minecraft-server:$armv7tag . - docker push itzg/minecraft-server:$armv7tag -) -git worktree remove $armv7workDir - -docker pull itzg/minecraft-server -# use the rpi build one for now since armv7-buildkit is giving ABI mismatch on curl -docker pull itzg/minecraft-server:armv7 - -docker manifest create itzg/minecraft-server:multiarch \ - itzg/minecraft-server \ - itzg/minecraft-server:armv7 \ - itzg/minecraft-server:arm64 - -docker manifest inspect itzg/minecraft-server:multiarch - -docker manifest push -p itzg/minecraft-server:multiarch diff --git a/development/update-multiarch.sh b/development/update-multiarch.sh deleted file mode 100755 index 06639072..00000000 --- a/development/update-multiarch.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/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