Skip to content

Enchance/simplify docker - #59

Merged
LebahGanteng88 merged 2 commits into
develfrom
enchance/simplify-docker
Aug 27, 2026
Merged

Enchance/simplify docker#59
LebahGanteng88 merged 2 commits into
develfrom
enchance/simplify-docker

Conversation

@LebahGanteng88

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread docker/general.yaml
HOST_UID=$$(id -u admin); HOST_GID=$$(id -g admin); fi && \
echo ====== Map admin to host $$HOST_UID:$$HOST_GID ======= && \
if [ \"$$HOST_GID\" != \"$$(id -g admin)\" ]; then \
sudo groupmod -g $$HOST_GID admin \

@LayNoah LayNoah Aug 26, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Most change is great to me.
For this line, I'm hard to grasp the benefits than mapping ENV directly.
Could you introduce the intuition for this change?
It may be related to error checking, but I'm hard to imagine which error can be occurred.

# Convention way
environment:
          - HOST_USER_GID=${HOST_USER_GID}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Just reducing the user modification step for ~/.bashrc. Also, it is better for the user not to modify .env

@LebahGanteng88
LebahGanteng88 merged commit 7cfeb4a into devel Aug 27, 2026
6 checks passed
@LebahGanteng88
LebahGanteng88 deleted the enchance/simplify-docker branch August 27, 2026 03:49
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.

2 participants