I want to use docker-compose yml file to update the container's PATH.
environment:
- PATH="$PATH":/my/new/path
But when I start the container, it says
oci runtime error: exec failed: container_linux.go:265: starting container process caused "exec: \"bash\": executable file not found in $PATH"
Is it possible to update the container's PATH from docker-compose yml file?
Thanks.