dart-lang / dart-docker

Docker images for the Dart programming language (https://dart.dev)
BSD 3-Clause "New" or "Revised" License
70 stars 15 forks source link

Add "$HOME/.pub-cache/bin" to the PATH #57

Closed Wikiwix closed 1 year ago

Wikiwix commented 3 years ago

It would be great if the "$HOME/.pub-cache/bin" path would be part of the image's PATH variable:

One case this is interesting is for a CI step which installs an executable dart package via dart pub global activate.

If the mentioned path would be in PATH those executables could be run using their name directly and omitting recompilation on multiple calls.

athomas commented 1 year ago

Fixed by dea8edc8a3a22999657392def2cb9135fe996849.