aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-02-17 16:19:04 +0100
committerJose Lausuch <jose.lausuch@ericsson.com>2016-02-18 12:48:59 +0000
commitaf2daa8f6a415466ab2661315d85836c956e39e3 (patch)
tree4d87d0b4a1d138d845b36e58b438b886bdf9e6ac /docker
parent19320346ab12dfb97b118b9d12fdb562a8ec80e2 (diff)
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 <jose.lausuch@ericsson.com> (cherry picked from commit 80ddf6005f1e1afbcbc3183f2a0ced1a66fdfe8b)
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile6
1 files changed, 6 insertions, 0 deletions
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