You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the Issue
In the development container, environment variables inherit from the base image by default, except the PATH variable which is overridden by Okteto.
Steps to Reproduce
Dockerfile:
FROM --platform=linux/amd64 rust as dev
RUN rustup target add aarch64-unknown-linux-gnu
RUN rustup toolchain install stable-aarch64-unknown-linux-gnu
After building and running with Okteto, executing rustup for cargo in the development container was not possible because Okteto had overridden the PATH set in the rust base image.
Expected behavior
The specified PATH in the development container built by Okteto should be appended to the end of the PATH from the base image, instead of overriding it.
Desktop (please complete the following information):
OS: macOS
Version: 13.4
Additional context
The text was updated successfully, but these errors were encountered:
It seems that the PATH is being overridden by either the Okteto VSCode extension (Remote-Kubernetes) or the code-server. There are no issues with the standalone Okteto environment.
It seems that the PATH is being overridden by either the Okteto VSCode extension (Remote-Kubernetes) or the code-server. There are no issues with the standalone Okteto environment.
# rustup --version
rustup 1.26.0 (5af9b9484 2023-04-05)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.69.0 (84c898d65 2023-04-16)`
#
Description of the Issue
In the development container, environment variables inherit from the base image by default, except the PATH variable which is overridden by Okteto.
Steps to Reproduce
Dockerfile:
okteto.yml:
After building and running with Okteto, executing
rustup
forcargo
in the development container was not possible because Okteto had overridden the PATH set in the rust base image.Expected behavior
The specified PATH in the development container built by Okteto should be appended to the end of the PATH from the base image, instead of overriding it.
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: