diff options
author | Ray Miller <ray@1729.org.uk> | 2025-05-24 17:55:09 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2025-06-03 15:09:54 +0200 |
commit | b48b2bcf421b0a630e9b07378854e52618e8e773 (patch) | |
tree | 7d4b7d6d053391f434d2ccf27a018cfd51e33779 /gnu/packages/guile-xyz.scm | |
parent | ef3b963a549e60eba6adf22a5b2cc6e62d61d9b6 (diff) |
pack: Include store parent directories in the Docker layer.
Fixes <https://issues.guix.gnu.org/78210>.
This patch adds the /gnu and /gnu/store directories to the Docker layer
created by ‘guix pack -f docker …’, which enables the Docker image to be
used to create an AWS Lambda function. Without the patch, creating the
AWS Lambda function fails with this error:
"MissingParentDirectory: Parent directory does not exist for file: gnu/store/…-info-dir/"
* guix/scripts/pack.scm (docker-image)[build]: Add store directory to
the docker layer.
* guix/docker.scm (build-docker-image): Change order of arguments to
‘tar’ so parent directories are added before their contents.
Change-Id: I2b103c59981e828c965564ccc5d2415b00a7e52e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/guile-xyz.scm')
0 files changed, 0 insertions, 0 deletions