GNU bug report logs - #74948
guix pack docker environment variable setting

Previous Next

Package: guix;

Reported by: Simon Josefsson <simon <at> josefsson.org>

Date: Wed, 18 Dec 2024 17:09:11 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Simon Josefsson <simon <at> josefsson.org>
To: bug-guix <at> gnu.org
Subject: guix pack docker environment variable setting
Date: Wed, 18 Dec 2024 18:08:11 +0100
[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)]

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.