Signed-off-by: Bai Jing 799286817@qq.com --- pkg/openeuler_docker/PKGBUILD | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/pkg/openeuler_docker/PKGBUILD b/pkg/openeuler_docker/PKGBUILD index 6a1190718..2ca55bcb4 100644 --- a/pkg/openeuler_docker/PKGBUILD +++ b/pkg/openeuler_docker/PKGBUILD @@ -3,20 +3,15 @@ pkgver=1.0 pkgrel=1 pkgdesc="openeuler docker image" arch=('i386' 'x86_64') -url="https://repo.openeuler.org/openEuler-20.03-LTS/docker_img" +url="https://repo.openeuler.org/openEuler-20.03-LTS-SP1/docker_img" license=('GPL') -source=("https://repo.openeuler.org/openEuler-20.03-LTS/docker_img/aarch64/openEuler-...") -md5sums=('6aa300910c9f9040b725939fb80e8121') +source=("https://repo.openeuler.org/openEuler-20.03-LTS-SP1/docker_img/aarch64/openEu...") +md5sums=('ad1149bf617ce6effb0a2eaf0cf692ef')
handle_docker_image() { docker load < openEuler-docker.aarch64.tar.xz - docker run -d --name my-openeuler openeuler-20.03-lts:latest - container_id=$(docker ps -aqf 'name=my-openeuler') - docker cp /etc/yum.repos.d/openEuler.repo $container_id:/etc/yum.repos.d/ - docker commit $container_id openeuler-20.03-lts:v1 - docker save -o openeuler-20.03-lts-v1.tar openeuler-20.03-lts:v1 - docker rm -f $container_id + docker save -o openeuler-20.03-lts-v1.tar openeuler-20.03-lts-sp1:latest }
package()