GNU bug report logs -
#74948
guix pack docker environment variable setting
Previous Next
To reply to this bug, email your comments to 74948 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#74948
; Package
guix
.
(Wed, 18 Dec 2024 17:09:11 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Simon Josefsson <simon <at> josefsson.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 18 Dec 2024 17:09:11 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi
I believe the guix-pack docker format allows setting environment
variables in the resulting image, is that right?
I can't find any way to set them using the `guix pack` tool, am I
missing it?
Would a new `guix pack --setenv HOME=/` parameter be useful?
Such a parameter could be docker-specific and documented in
--help-docker-format. If other formats support setting environment
variables too, it could instead be a normal `guix pack` parameter.
Maybe AppImage support setting environment variables too?
Thanks,
/Simon
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#74948
; Package
guix
.
(Tue, 07 Jan 2025 23:02:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 74948 <at> debbugs.gnu.org (full text, mbox):
Hi,
Simon Josefsson <simon <at> josefsson.org> skribis:
> Would a new `guix pack --setenv HOME=/` parameter be useful?
>
> Such a parameter could be docker-specific and documented in
> --help-docker-format. If other formats support setting environment
> variables too, it could instead be a normal `guix pack` parameter.
> Maybe AppImage support setting environment variables too?
That would definitely be useful, yes. The squashfs format (for
Singularity/Apptainer) supports it too, maybe AppImage as well.
Ludo’.
This bug report was last modified 255 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.