mithril-security / blindai

Confidential AI deployment with secure enclaves :lock:
https://www.mithrilsecurity.io/
Apache License 2.0
500 stars 35 forks source link

dev: improve dev container (default user is no longer root) #97

Closed clauverjat closed 2 years ago

clauverjat commented 2 years ago

Description

Before the default user in the dev container was root, because of that files created inside the container were also root in the host folder. To avoid this inconvenience, it is preferable that the default user is no longer root. This is also better from a security standpoint. Also, this PR replaces the previous custom setup script with the official VScode dev container script from https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/common-debian.sh