-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
user.sh: put env settings in /etc/bash.bashrc
The user home is a docker volume, which is persistent between container runs and cannot be mounted during image building. Store env settings like PATH and other variables in container-global /etc/bash.bashrc instead of user ~/.bashrc so that changes to these variables during image build become visible without deleting the volume. Signed-off-by: Gerwin Klein <[email protected]>
- Loading branch information
Showing
1 changed file
with
15 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters