Skip to content

Commit

Permalink
Add non-root dev container user (home-assistant#34984)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
hunterjm authored Jun 3, 2020
1 parent e80fac3 commit 94d8e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down

0 comments on commit 94d8e77

Please sign in to comment.