Add non-root dev container user (#34984)

* add non-root container user

* fix dockerfile and homeassistant editable install

* just install in home directory

* less impactful default changes

* separate RUN for better layer caching

* use vscode-remote base image
pull/35173/head
Jason Hunter 2020-06-03 03:55:25 -04:00 committed by GitHub
parent e80fac36d8
commit 94d8e77f8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
FROM python:3.8
FROM mcr.microsoft.com/vscode/devcontainers/python:0-3.8
RUN \
apt-get update && apt-get install -y --no-install-recommends \