Make debugging actually work on linux by installing gdb. Also, add a manual image for testing the tests

This commit is contained in:
Ben Jackson 2019-06-02 16:54:11 +01:00
commit 3a70b3dd2c
6 changed files with 56 additions and 7 deletions

View file

@ -0,0 +1,20 @@
FROM puremourning/vimspector:test
RUN apt-get update && \
apt-get -y dist-upgrade && \
apt-get -y install sudo
## cleanup of files from setup
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
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/