frequi_origin/.devcontainer/Dockerfile

20 lines
589 B
Docker
Raw Normal View History

FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-16-buster
2020-06-04 09:02:46 +00:00
ARG USERNAME=node
2020-06-04 09:02:46 +00:00
RUN yarn global add @vue/cli \
&& sudo apt-get update \
&& sudo apt-get install -y vim \
&& sudo apt-get clean
2020-06-04 19:15:01 +00:00
2020-06-04 09:02:46 +00:00
ENV HOME /home/$USERNAME
# load ssh key in bash terminal
RUN mkdir -p ${HOME}/commandhistory \
# && echo "eval \$(ssh-agent) && ssh-add ~/.ssh/id_rsa" >> ${HOME}/.bashrc \
# set variable bash history
&& echo "export PROMPT_COMMAND='history -a'" >> ${HOME}/.bashrc \
&& echo "export HISTFILE=~/commandhistory/.bash_history" >> ${HOME}/.bashrc
2020-06-04 09:02:46 +00:00
EXPOSE 8080