dotfiles/ubuntu/Dockerfile
2019-05-19 22:18:20 +01:00

51 lines
2.1 KiB
Docker

FROM ubuntu:disco
ENV LC_ALL en_GB.UTF-8
ENV LANG en_GB.UTF-8
ENV LANGUAGE en_GB.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
RUN echo "APT::Acquire::Retries=16;" >> /etc/apt/apt.conf.d/99_retries
RUN echo '\
deb mirror://mirrors.ubuntu.com/NL.txt disco main restricted \n\
deb mirror://mirrors.ubuntu.com/NL.txt disco-updates main restricted \n\
deb mirror://mirrors.ubuntu.com/NL.txt disco-security main restricted \n\
deb mirror://mirrors.ubuntu.com/NL.txt disco universe \n\
deb mirror://mirrors.ubuntu.com/NL.txt disco-updates universe\n\
deb mirror://mirrors.ubuntu.com/NL.txt disco-security universe\n\
' > /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y --fix-missing sudo apt-utils aptitude dirmngr locales nullmailer
RUN apt-get -y --fix-missing upgrade
RUN sudo locale-gen en_GB.UTF-8
RUN dpkg-reconfigure locales
RUN apt-get -y install whois zsh tmux atop aria2 curl pv python-dev ruby-dev dkms linux-kernel-headers golang
RUN apt-get -y --fix-missing install lm-sensors mercurial git
RUN apt-get -y --fix-missing install build-essential cmake intltool
RUN apt-get -y --fix-missing install xorg
RUN apt-get -y --fix-missing install meld
RUN apt-get -y --fix-missing install gajim
RUN apt-get -y --fix-missing install lm-sensors
RUN apt-get -y --fix-missing install terminator
RUN apt-get -y --fix-missing install python3-pip python-pip
RUN apt-get -y --fix-missing install freecad
RUN apt-get -y --fix-missing install keepass2
RUN apt-get -y --fix-missing install libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev
RUN apt-get -y --fix-missing install gsmartcontrol redshift gtk-redshift gparted solaar glances silversearcher-ag retext kdiff3
RUN mkdir -p /root/dev/
# vim
RUN git clone https://github.com/vim/vim.git --recursive /root/dev/vim
RUN cd /root/dev/vim && ./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp \
--enable-python3interp=yes \
--enable-luainterp \
--enable-gui=no \
--enable-cscope
RUN cd /root/dev/vim && make -j`nproc`
RUN cd /root/dev/vim && make install