transition to nvim
This commit is contained in:
parent
aebc887077
commit
8c8cc7750b
1 changed files with 2 additions and 10 deletions
12
Dockerfile
12
Dockerfile
|
|
@ -30,10 +30,10 @@ RUN apt-get update \
|
||||||
libnss-mdns \
|
libnss-mdns \
|
||||||
iputils-ping \
|
iputils-ping \
|
||||||
sudo \
|
sudo \
|
||||||
vim \
|
neovim \
|
||||||
|
ripgrep \
|
||||||
wget \
|
wget \
|
||||||
byobu \
|
byobu \
|
||||||
xmlstarlet \
|
|
||||||
ros-${ROS_DISTR}-rqt-tf-tree \
|
ros-${ROS_DISTR}-rqt-tf-tree \
|
||||||
ros-${ROS_DISTR}-apriltag \
|
ros-${ROS_DISTR}-apriltag \
|
||||||
clang-format \
|
clang-format \
|
||||||
|
|
@ -74,15 +74,7 @@ RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/
|
||||||
&& git clone https://github.com/sindresorhus/pure.git "$HOME/.zsh/pure" \
|
&& git clone https://github.com/sindresorhus/pure.git "$HOME/.zsh/pure" \
|
||||||
&& echo "source /opt/ros/$ROS_DISTR/setup.zsh" >> /home/$USERNAME/.zshrc
|
&& echo "source /opt/ros/$ROS_DISTR/setup.zsh" >> /home/$USERNAME/.zshrc
|
||||||
|
|
||||||
RUN echo "source /opt/ros/$ROS_DISTR/setup.bash" >> /home/$USERNAME/.bashrc \
|
|
||||||
&& echo "source $HOME/uuv/ros2_underlay/install/setup.bash" >> "$HOME/.bashrc"
|
|
||||||
|
|
||||||
ADD ros2-vim/vimrc /home/$USERNAME/.vimrc
|
|
||||||
ADD ros2-vim/ycm_extra_conf.py /home/$USERNAME/.ycm_extra_conf.py
|
|
||||||
RUN git clone https://github.com/VundleVim/Vundle.vim.git /home/$USERNAME/.vim/bundle/Vundle.vim
|
|
||||||
RUN vim +PluginInstall +qall
|
|
||||||
RUN cd /home/$USERNAME/.vim/bundle/YouCompleteMe \
|
|
||||||
&& python3 install.py --clangd-completer
|
|
||||||
USER root
|
USER root
|
||||||
RUN mkdir /zsh_history \
|
RUN mkdir /zsh_history \
|
||||||
&& touch /zsh_history/.zsh_history \
|
&& touch /zsh_history/.zsh_history \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue