diff --git a/docker/app.Dockerfile b/docker/app.Dockerfile index 6d29ce5e0..5fc67cb15 100644 --- a/docker/app.Dockerfile +++ b/docker/app.Dockerfile @@ -1,4 +1,4 @@ -# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.236.0/containers/python-3/.devcontainer/base.Dockerfile +# Based on image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.236.0/containers/python-3/.devcontainer/base.Dockerfile # [Choice] Python version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.10, 3.9, 3.8, 3.7, 3.6, 3-bullseye, 3.10-bullseye, 3.9-bullseye, 3.8-bullseye, 3.7-bullseye, 3.6-bullseye, 3-buster, 3.10-buster, 3.9-buster, 3.8-buster, 3.7-buster, 3.6-buster ARG VARIANT=3-bullseye diff --git a/docker/run b/docker/run index 5dd890751..cc0a19941 100755 --- a/docker/run +++ b/docker/run @@ -54,6 +54,7 @@ if [ $NEW_UID -gt 0 ]; then echo "GROUP ID: $NEW_GID" else echo "Running as root, will use default user/group mapping..." + echo "NOT RECOMMENDED - You may experience permission issues." NEW_UID=1000 NEW_GID=1000 fi diff --git a/docker/scripts/app-init.sh b/docker/scripts/app-init.sh index becb376b4..f0e75e2e0 100755 --- a/docker/scripts/app-init.sh +++ b/docker/scripts/app-init.sh @@ -8,7 +8,6 @@ sudo service rsyslog start echo "Fixing volumes ownership..." sudo chown -R vscode:vscode "$WORKSPACEDIR/.parcel-cache" sudo chown -R vscode:vscode "$WORKSPACEDIR/__pycache__" -sudo chown -R vscode:vscode "$WORKSPACEDIR" # Build node packages that requrie native compilation echo "Compiling native node packages..."