/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.devcontainer/scripts/container-creation.sh
21 строка
747 B
Tanay Parikh
Add .NET Dev Certs to DevContainer By Default (#36000)
01 сен 2021, 20:52
Не верифицирован
01 сен 2021, 20:52
2f90ebe
Код
Авторство
О чём код?
#!/usr/bin/env bash set -e # GitHub doesn't pull in submodules by default when mounting # the repo directory on the container so we do this post-create git submodule update --init --recursive # Install SDK and tool dependencies before container starts # Also run the full restore on the repo so that go-to definition # and other language features will be available in C# files ./restore.sh # Add .NET Dev Certs to environment to facilitate debugging. # Do **NOT** do this in a public base image as all images inheriting # from the base image would inherit these dev certs as well. dotnet dev-certs https # The container creation script is executed in a new Bash instance # so we exit at the end to avoid the creation process lingering. exit