3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

system: vm: Add a memory-size argument to system-docker-image.

* gnu/system/vm.scm (system-docker-image): Add a memory-size argument and pass
it to expression->derivation-in-linux-vm.
This commit is contained in:
Mathieu Othacehe 2021-04-12 14:08:29 +02:00
parent 331666862c
commit 98bf60bf4f
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -468,6 +468,7 @@ system that is passed to 'populate-root-file-system'."
(define* (system-docker-image os
#:key
(name "guix-docker-image")
(memory-size 256)
(register-closures? (has-guix-service-type? os))
shared-network?)
"Build a docker image. OS is the desired <operating-system>. NAME is the
@ -561,6 +562,7 @@ the operating system."
(expression->derivation-in-linux-vm
name build
#:memory-size memory-size
#:make-disk-image? #f
#:single-file-output? #t
#:references-graphs `((,graph ,os)))))