Skip to content

Fix export of ODK_RESOURCES_DIR. - #1391

Merged
gouttegd merged 1 commit into
masterfrom
fix-export-odk-resources-dir
Oct 26, 2026
Merged

gouttegd merged 1 commit into
masterfrom
fix-export-odk-resources-dir

Conversation

@gouttegd

Copy link
Copy Markdown
Contributor

ODK workflows need to know the location of the resources directory. This is the role of the ODK_RESOURCES_DIR environment variable, but that variable was only set when the container process was run under a non-root user.

We fix that by declaring the variable directly in the Dockerfile, rather than in the entry point script. (Can't remember why it was set in the entry point script to begin with, but I can’t think of any particular reason why it should be set there.)

closes #1390

ODK workflows need to know the location of the resources directory. This
is the role of the ODK_RESOURCES_DIR environment variable, but that
variable was only set when the container process was run under a
non-root user.

We fix that by declaring the variable directly in the Dockerfile, rather
than in the entry point script.

closes #1390
@gouttegd
gouttegd merged commit 65f00da into master Oct 26, 2026
1 check passed
@gouttegd
gouttegd deleted the fix-export-odk-resources-dir branch October 26, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ODK_RESOURCES_DIR not set when ODK_USER_ID is 0 or unset

2 participants