Run parts as Node user

This commit is contained in:
Matthias 2021-07-14 07:37:16 +00:00 committed by GitHub
parent d3f4dbf3bf
commit c47026e8b2

View File

@ -1,13 +1,13 @@
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-16-buster
ARG USERNAME=node
RUN yarn global add @vue/cli \
&& sudo apt-get update \
&& sudo apt-get install -y vim \
&& sudo apt-get clean
ENV HOME /home/$USERNAME
USER node
ENV HOME /home/node
# load ssh key in bash terminal
RUN mkdir -p ${HOME}/commandhistory \