-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Environment variables are swallowed #15
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
Correct, s6 sandboxes the container environment and by bypassing its init process with your own CMD you also bypass that environment. This feels extremely X/Y so I would suggest explaining what you're actually trying to achieve rather than just providing random errors and expecting us to guess. |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue is locked due to inactivity |
Is there an existing issue for this?
Current Behavior
With the following Dockerfile:
environment variables set via docker compose
neither the environment variables set via
.env
nor in docker compose appear.Expected Behavior
Swapping the libreoffice image for
debian
, the environment variables appear.Steps To Reproduce
(see current/expected behaviour)
Environment
- How docker service was installed: Mosyle Self Service
CPU architecture
arm64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: