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
Currently the only way to execute multiple postCreateCommands is by using "&&". Since this command is suggested to be used to install additional tools like git, curl, etc. this can get quite long. For example the RTools Extension requires a .NET installation. So if I want a linter for python and R I have to do something like this:
postCreateCommand runs in the workspace folder, you could, e.g., place a script in the .devcontainer folder and invoke it as ./.devcontainer/postCreateCommand.sh.
Currently the only way to execute multiple postCreateCommands is by using "&&". Since this command is suggested to be used to install additional tools like git, curl, etc. this can get quite long. For example the RTools Extension requires a .NET installation. So if I want a linter for python and R I have to do something like this:
"apt-get update && apt-get install -y git && conda install --name conda_env pylint -y && wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && dpkg -i packages-microsoft-prod.deb && apt-get update && apt-get install -y aspnetcore-runtime-3.1"
And since JSON does not do line wrapping this is absolutely unreadable.
The text was updated successfully, but these errors were encountered: