Skip to content
Snippets Groups Projects
Verified Commit af1a4009 authored by Anton Tetov Johansson's avatar Anton Tetov Johansson
Browse files

explicit install of vim-addon-manager and merged apt-get step

parent ec4a79bb
Branches
No related tags found
No related merge requests found
FROM ubuntu:jammy FROM ubuntu:jammy
LABEL org.opencontainers.image.authors="marko.guberina@control.lth.se"
# install python3-tk without questions # install python3-tk without questions
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Stockholm ENV TZ=Europe/Stockholm
RUN apt-get update && apt install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
python3 \ python3 \
python3-pip \ python3-pip \
python3-tk \ python3-tk \
...@@ -13,16 +15,10 @@ RUN apt-get update && apt install -y --no-install-recommends \ ...@@ -13,16 +15,10 @@ RUN apt-get update && apt install -y --no-install-recommends \
sudo \ sudo \
man-db \ man-db \
manpages-posix \ manpages-posix \
arp-scan arp-scan \
RUN sed -i 's:^path-exclude=/usr/share/man:#path-exclude=/usr/share/man:' \
/etc/dpkg/dpkg.cfg.d/excludes
RUN yes | unminimize
# for some reason it's needed again
# nice to have # nice to have
RUN apt-get update && apt install -y --no-install-recommends \
vim \ vim \
vim-addon-manager \
vim-youcompleteme \ vim-youcompleteme \
vim-python-jedi \ vim-python-jedi \
zsh \ zsh \
...@@ -32,6 +28,10 @@ RUN apt-get update && apt install -y --no-install-recommends \ ...@@ -32,6 +28,10 @@ RUN apt-get update && apt install -y --no-install-recommends \
# qt-binding is a really unnecessary 300MB, but i don't want # qt-binding is a really unnecessary 300MB, but i don't want
# to do more matplotlib hacks # to do more matplotlib hacks
RUN sed -i 's:^path-exclude=/usr/share/man:#path-exclude=/usr/share/man:' \
/etc/dpkg/dpkg.cfg.d/excludes
RUN yes | unminimize
# make the environment more usable # make the environment more usable
# create user # create user
RUN useradd -m -s /bin/zsh -G sudo -u 1000 student RUN useradd -m -s /bin/zsh -G sudo -u 1000 student
...@@ -45,8 +45,8 @@ RUN mkdir -p .cache/zsh/ ...@@ -45,8 +45,8 @@ RUN mkdir -p .cache/zsh/
COPY --chown=student /dot_files_for_docker/.vimrc /home/student/ COPY --chown=student /dot_files_for_docker/.vimrc /home/student/
COPY --chown=student /dot_files_for_docker/.zshrc /home/student/ COPY --chown=student /dot_files_for_docker/.zshrc /home/student/
COPY --chown=student /dot_files_for_docker/global_extra_conf.py /home/student/ COPY --chown=student /dot_files_for_docker/global_extra_conf.py /home/student/
RUN vam install python-jedi
RUN vam install youcompleteme RUN vam install python-jedi && vam install youcompleteme
# this is enough to run clik # this is enough to run clik
WORKDIR /home/student/ WORKDIR /home/student/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment