mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-01-23 14:32:14 +08:00
remove armv5 docker for script
This commit is contained in:
parent
f003ff9f44
commit
a867359da3
3
.gitignore
vendored
3
.gitignore
vendored
@ -42,4 +42,5 @@ license_header.sh
|
||||
account.txt
|
||||
git_push.sh
|
||||
git_pull.sh
|
||||
docker/sync/data
|
||||
docker/sync/data
|
||||
clear_docker.sh
|
@ -79,27 +79,27 @@ docker build \
|
||||
rm -rf out/binary_files
|
||||
|
||||
# build armv5 docker
|
||||
echo "building armv5 docker image"
|
||||
ARCH=armv5
|
||||
ZIP_FILE_NAME=aliyunpan-$version-linux-$ARCH
|
||||
DOCKER_IMAGE_HASH=e047bc2af17934d38c5a7fa9f46d443f1de3a7675546402592ef805cfa929f9d
|
||||
unzip -d ./out ./out/$ZIP_FILE_NAME.zip
|
||||
mv ./out/$ZIP_FILE_NAME ./out/binary_files
|
||||
|
||||
docker build \
|
||||
-f ./docker/sync/Dockerfile \
|
||||
-t $docker_image_name:$version-$ARCH \
|
||||
--build-arg DOCKER_IMAGE_HASH=$DOCKER_IMAGE_HASH \
|
||||
--no-cache .
|
||||
|
||||
rm -rf out/binary_files
|
||||
#echo "building armv5 docker image"
|
||||
#ARCH=armv5
|
||||
#ZIP_FILE_NAME=aliyunpan-$version-linux-$ARCH
|
||||
#DOCKER_IMAGE_HASH=e047bc2af17934d38c5a7fa9f46d443f1de3a7675546402592ef805cfa929f9d
|
||||
#unzip -d ./out ./out/$ZIP_FILE_NAME.zip
|
||||
#mv ./out/$ZIP_FILE_NAME ./out/binary_files
|
||||
#
|
||||
#docker build \
|
||||
#-f ./docker/sync/Dockerfile \
|
||||
#-t $docker_image_name:$version-$ARCH \
|
||||
#--build-arg DOCKER_IMAGE_HASH=$DOCKER_IMAGE_HASH \
|
||||
#--no-cache .
|
||||
#
|
||||
#rm -rf out/binary_files
|
||||
|
||||
echo "push docker images"
|
||||
docker push $docker_image_name:$version-amd64
|
||||
docker push $docker_image_name:$version-386
|
||||
docker push $docker_image_name:$version-arm64
|
||||
docker push $docker_image_name:$version-armv7
|
||||
docker push $docker_image_name:$version-armv5
|
||||
#docker push $docker_image_name:$version-armv5
|
||||
|
||||
echo "create docker manifest"
|
||||
docker manifest create $docker_image_name:$version \
|
||||
@ -107,7 +107,6 @@ $docker_image_name:$version-amd64 \
|
||||
$docker_image_name:$version-386 \
|
||||
$docker_image_name:$version-arm64 \
|
||||
$docker_image_name:$version-armv7 \
|
||||
$docker_image_name:$version-armv5 \
|
||||
--amend
|
||||
|
||||
|
||||
@ -141,13 +140,13 @@ docker manifest annotate \
|
||||
$docker_image_name:$version \
|
||||
$docker_image_name:$version-armv7
|
||||
|
||||
echo "annotate manifest for armv5 image"
|
||||
docker manifest annotate \
|
||||
--arch=arm \
|
||||
--os=linux \
|
||||
--variant=v6 \
|
||||
$docker_image_name:$version \
|
||||
$docker_image_name:$version-armv5
|
||||
#echo "annotate manifest for armv5 image"
|
||||
#docker manifest annotate \
|
||||
#--arch=arm \
|
||||
#--os=linux \
|
||||
#--variant=v6 \
|
||||
#$docker_image_name:$version \
|
||||
#$docker_image_name:$version-armv5
|
||||
|
||||
echo "push manifest to docker hub"
|
||||
docker manifest push $docker_image_name:$version
|
||||
|
@ -79,27 +79,27 @@ docker build \
|
||||
rm -rf out/binary_files
|
||||
|
||||
# build armv5 docker
|
||||
echo "building armv5 docker image"
|
||||
ARCH=armv5
|
||||
ZIP_FILE_NAME=aliyunpan-$version-linux-$ARCH
|
||||
DOCKER_IMAGE_HASH=e047bc2af17934d38c5a7fa9f46d443f1de3a7675546402592ef805cfa929f9d
|
||||
unzip -d ./out ./out/$ZIP_FILE_NAME.zip
|
||||
mv ./out/$ZIP_FILE_NAME ./out/binary_files
|
||||
|
||||
docker build \
|
||||
-f ./docker/webdav/Dockerfile \
|
||||
-t $docker_image_name:$version-$ARCH \
|
||||
--build-arg DOCKER_IMAGE_HASH=$DOCKER_IMAGE_HASH \
|
||||
--no-cache .
|
||||
|
||||
rm -rf out/binary_files
|
||||
#echo "building armv5 docker image"
|
||||
#ARCH=armv5
|
||||
#ZIP_FILE_NAME=aliyunpan-$version-linux-$ARCH
|
||||
#DOCKER_IMAGE_HASH=e047bc2af17934d38c5a7fa9f46d443f1de3a7675546402592ef805cfa929f9d
|
||||
#unzip -d ./out ./out/$ZIP_FILE_NAME.zip
|
||||
#mv ./out/$ZIP_FILE_NAME ./out/binary_files
|
||||
#
|
||||
#docker build \
|
||||
#-f ./docker/webdav/Dockerfile \
|
||||
#-t $docker_image_name:$version-$ARCH \
|
||||
#--build-arg DOCKER_IMAGE_HASH=$DOCKER_IMAGE_HASH \
|
||||
#--no-cache .
|
||||
#
|
||||
#rm -rf out/binary_files
|
||||
|
||||
echo "push docker images"
|
||||
docker push $docker_image_name:$version-amd64
|
||||
docker push $docker_image_name:$version-386
|
||||
docker push $docker_image_name:$version-arm64
|
||||
docker push $docker_image_name:$version-armv7
|
||||
docker push $docker_image_name:$version-armv5
|
||||
#docker push $docker_image_name:$version-armv5
|
||||
|
||||
echo "create docker manifest"
|
||||
docker manifest create $docker_image_name:$version \
|
||||
@ -107,7 +107,6 @@ $docker_image_name:$version-amd64 \
|
||||
$docker_image_name:$version-386 \
|
||||
$docker_image_name:$version-arm64 \
|
||||
$docker_image_name:$version-armv7 \
|
||||
$docker_image_name:$version-armv5 \
|
||||
--amend
|
||||
|
||||
|
||||
@ -141,13 +140,13 @@ docker manifest annotate \
|
||||
$docker_image_name:$version \
|
||||
$docker_image_name:$version-armv7
|
||||
|
||||
echo "annotate manifest for armv5 image"
|
||||
docker manifest annotate \
|
||||
--arch=arm \
|
||||
--os=linux \
|
||||
--variant=v6 \
|
||||
$docker_image_name:$version \
|
||||
$docker_image_name:$version-armv5
|
||||
#echo "annotate manifest for armv5 image"
|
||||
#docker manifest annotate \
|
||||
#--arch=arm \
|
||||
#--os=linux \
|
||||
#--variant=v6 \
|
||||
#$docker_image_name:$version \
|
||||
#$docker_image_name:$version-armv5
|
||||
|
||||
echo "push manifest to docker hub"
|
||||
docker manifest push $docker_image_name:$version
|
||||
|
Loading…
Reference in New Issue
Block a user