Set $PATH and $CARGO_TARGET_DIR via the ENV instruction. This allows us
to drop the path from all subsequent RUN and CMD invocations which is
quite nice.
By setting a custom $CARGO_TARGET_DIR we avoid trouble with local IDEs
and such that would otherwise share the same directory as the container,
blocking and invalidating each other.
Set $PATH and $CARGO_TARGET_DIR via the ENV instruction. This allows us to drop the path from all subsequent RUN and CMD invocations which is quite nice.
By setting a custom $CARGO_TARGET_DIR we avoid trouble with local IDEs and such that would otherwise share the same directory as the container, blocking and invalidating each other.
Jira:^H^H^H^H^H Hahaha, this isn't Gerrit.