Remove unneeded scripts
This commit is contained in:
parent
babe6a2817
commit
ce4d6034af
3 changed files with 0 additions and 42 deletions
12
build
12
build
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
DOCKER_ARCH=${BUILD_ARCH:-arm32v7}
|
||||
DOCKER_ORG=agners
|
||||
DOCKER_IMAGE=archlinuxarm-${DOCKER_ARCH}
|
||||
|
||||
TAG_DATE=$(date +'%Y%m%d')
|
||||
|
||||
docker build -t $DOCKER_ORG/$DOCKER_IMAGE \
|
||||
-t $DOCKER_ORG/$DOCKER_IMAGE:$TAG_DATE \
|
||||
-f Dockerfile.${DOCKER_ARCH} .
|
||||
|
18
prepare-qemu
18
prepare-qemu
|
@ -1,18 +0,0 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "This script must be run as root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Delete currently existing configurations
|
||||
if [ -f /proc/sys/fs/binfmt_misc/qemu-arm ]; then
|
||||
echo -1 > /proc/sys/fs/binfmt_misc/qemu-arm
|
||||
fi
|
||||
if [ -f /proc/sys/fs/binfmt_misc/qemu-aarch64 ]; then
|
||||
echo -1 > /proc/sys/fs/binfmt_misc/qemu-aarch64
|
||||
fi
|
||||
|
||||
echo ':qemu-arm:M:0:\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-static:CF' > /proc/sys/fs/binfmt_misc/register
|
||||
|
||||
echo ':qemu-aarch64:M:0:\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-aarch64-static:CF' > /proc/sys/fs/binfmt_misc/register
|
12
push
12
push
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
DOCKER_ARCH=${BUILD_ARCH:-arm32v7}
|
||||
DOCKER_ORG=agners
|
||||
DOCKER_IMAGE=archlinuxarm-${DOCKER_ARCH}
|
||||
|
||||
TAG_DATE=$(date +'%Y%m%d')
|
||||
|
||||
docker push $DOCKER_ORG/$DOCKER_IMAGE:$TAG_DATE
|
||||
docker push $DOCKER_ORG/$DOCKER_IMAGE
|
||||
|
||||
|
Loading…
Reference in a new issue