guix: docker: Support riscv64.

* guix/docker.scm (build-docker-image): Add riscv64 case.

Change-Id: I4b735dfe299818209341e65876fe736046bb30e7
This commit is contained in:
Zheng Junjie 2024-12-02 16:11:46 +08:00
parent 43e391d76c
commit 5ae14eb9c8
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -4,6 +4,7 @@
;;; Copyright © 2018 Chris Marusich <cmmarusich@gmail.com> ;;; Copyright © 2018 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2023 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2023 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -317,7 +318,8 @@ (define layers-hashes
("i686" "386") ("i686" "386")
("arm" "arm") ("arm" "arm")
("aarch64" "arm64") ("aarch64" "arm64")
("mips64" "mips64le"))))) ("mips64" "mips64le")
("riscv64" "riscv64")))))
;; Make sure we start with a fresh, empty working directory. ;; Make sure we start with a fresh, empty working directory.
(mkdir directory) (mkdir directory)
(with-directory-excursion directory (with-directory-excursion directory