mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
docker: Add missing hyphen for ‘tar -cf layer.tar’.
Fixes a bug introduced in 646202bf73
whereby ‘guix pack -f docker --max-layers=8 sed’ would fail with:
tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options
* guix/docker.scm (build-docker-image):
Reported-by: Simon Josefsson <simon@josefsson.org>
Change-Id: I8edf4538e7d2964c90e5aac19fa905a8a86d0862
This commit is contained in:
parent
9a6a7c9ea0
commit
285a1cb449
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ added to image as a layer."
|
||||||
(let* ((head-layers
|
(let* ((head-layers
|
||||||
(map
|
(map
|
||||||
(lambda (file)
|
(lambda (file)
|
||||||
(tar "cf" "layer.tar" file)
|
(tar "-cf" "layer.tar" file)
|
||||||
(seal-layer))
|
(seal-layer))
|
||||||
head))
|
head))
|
||||||
(tail-layer
|
(tail-layer
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue