Skip to content

Conversation

@siggmo
Copy link
Contributor

@siggmo siggmo commented Oct 9, 2024

Running the fans-dev container image produces this error:

$ docker run --rm -it unistuttgartdae/fans-dev WARNING: Please provide HOST_UID and HOST_GID as environment variables (docker run -e)! UID and GID will not be changed. This will probably lead to permission issues with mounted volumes. error: failed switching to "develop": unable to find user develop: no matching entries in passwd file

This is due to an oversight where I renamed the non-root container user from develop to fans in the fans-ci image, but missed applying the same change to the fans-dev image. Since the fans-dev image is built upon the fans-ci image, this resulted in an inconsistency where the entrypoint script still referred to the old user.

@siggmo siggmo self-assigned this Oct 9, 2024
Copy link
Collaborator

@IshaanDesai IshaanDesai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Having the software name as a user name is in general a good idea 👍

@IshaanDesai IshaanDesai merged commit 1c6db24 into develop Oct 9, 2024
7 checks passed
@IshaanDesai IshaanDesai deleted the bugfix/Dockerfile_user branch October 9, 2024 12:03
sanathkeshav added a commit that referenced this pull request Oct 30, 2024
* Mention dependency on compiler support for OpenMP in README * Rename container user also in fans_dev image to fix broken entrypoint script (#27) * Add python3-dev to fans-ci stage already * Remove clang-format check via GitHub Action (#29) * Bump clang-format version * Formatting * Use a different Action workflow to run clang-format * Remove the Action to run clang-format, as it will go out of sync with the pre-commit run * Bump mirror-clang-format to latest version in the pre-commit-config * Update clang-format config file to also format JSON * Manually specify which extensions to format in the mirror-clang-format hooks in the pre-commit config * Exclude JSON files from clang-format * Exclude JSON files from clang-format * Correctly exclude JSON files from clang-format checking * Rather than excluding json, specifically suggest c++ * Added API to get homogenized stress and homogenized tangent (#31) * worked on getting the algorithmic tangent via finite differences * linear elastic triclinic material model * refactored material properties from type map<string, vector<double>> to type json * J2Plasticity time_step is double not a vector * refactored compute_error to accept different error measure and type * added additional error control when get_homogenized_tangent is called * in get_homogenized_tangent linear materials are handled seperately * added linear thermal triclinic model (#32) * added linear thermal triclinic model similar to linear elastic triclinic model * fixed readme.md indent causing linting error * Update CHANGELOG * Bump version --------- Co-authored-by: Moritz Sigg <st160944@stud.uni-stuttgart.de> Co-authored-by: Moritz Sigg <50019904+siggmo@users.noreply.github.com> Co-authored-by: Ishaan Desai <ishaandesai@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants