install.fairie/dotfiles/.vim/plugged/YouCompleteMe/test/docker/manual/image/Dockerfile
Git E2E Dev Test Username 1dcbe335e1 git subrepo clone (merge) https://github.com/ycm-core/YouCompleteMe.git ./dotfiles/.vim/plugged/YouCompleteMe
subrepo:
  subdir:   "dotfiles/.vim/plugged/YouCompleteMe"
  merged:   "99ccab251"
upstream:
  origin:   "https://github.com/ycm-core/YouCompleteMe.git"
  branch:   "master"
  commit:   "99ccab251"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
2022-10-18 10:37:46 -04:00

23 lines
546 B
Docker

ARG YCM_PYTHON=py3
FROM youcompleteme/ycm-vim-${YCM_PYTHON}:test
RUN apt-get update && \
apt-get -y --no-install-recommends install less && \
apt-get -y autoremove
RUN useradd -ms /bin/bash -d /home/dev -G sudo dev && \
echo "dev:dev" | chpasswd && \
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers.d/sudo
USER dev
WORKDIR /home/dev
ENV HOME /home/dev
ENV PYTHON_CONFIGURE_OPTS --enable-shared
ADD --chown=dev:dev .vim/ /home/dev/.vim/
## cleanup of files from setup
RUN sudo rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*