aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
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 13:38:30 +0100
commit80ddf6005f1e1afbcbc3183f2a0ced1a66fdfe8b (patch)
tree9f6bdb7408f8f0df8dd8d64ed96a53174eb176e2 /docker/Dockerfile
parent62131c3f53e66b6305bdd163037d452483821cfd (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>
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 3c5a2a65..8424b5f9 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