I installed pyenv in docker, but when I exit, again
docker run -it image
will be
bash: pyenv: command not found
I can only retype the following command:
The export PATH = "/ root/pyenv/bin: $PATH" > >. Bashrc
Eval "$(pyenv init -)" >>. Bashrc.
Eval "$(pyenv virtualenv-init -)" >>. Basic.
Source. bashrc
How can I persist the configuration of pyenv in docker image?