From af2daa8f6a415466ab2661315d85836c956e39e3 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Wed, 17 Feb 2016 16:19:04 +0100 Subject: Add VI and alias support in the docker container When editing a file with VI in the container, the keyboard is not properly setup. This options will help to do things more smoothly.. Change-Id: I4c9004a4df067d7bbb558461dd98d76e32e64591 Signed-off-by: jose.lausuch (cherry picked from commit 80ddf6005f1e1afbcbc3183f2a0ced1a66fdfe8b) --- docker/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docker') diff --git a/docker/Dockerfile b/docker/Dockerfile index 3c5a2a657..8424b5f97 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -31,6 +31,8 @@ LABEL version="0.1" description="OPNFV Functest Docker container" ENV HOME /home/opnfv ENV repos_dir /home/opnfv/repos ENV creds /home/opnfv/functest/conf/openstack.creds +ENV TERM xterm +ENV COLORTERM gnome-terminal WORKDIR /home/opnfv # Packaged dependencies @@ -80,3 +82,7 @@ ADD http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img /home/op RUN gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 RUN curl -L https://get.rvm.io | bash -s stable + +RUN echo -e "set nocompatible\nset backspace=2" >> /home/opnfv/.vimrc +RUN echo "set nocompatible" >> /home/opnfv/.exrc +RUN echo "alias ll='ls -lh'" >> /home/opnfv/.bash_aliases \ No newline at end of file -- cgit 1.2.3-korg