Starting point for ODL Integration
[genesis.git] / fuel / build / docker / ubuntu-builder / Dockerfile
similarity index 78%
rename from fuel-build/docker/ubuntu-builder/Dockerfile
rename to fuel/build/docker/ubuntu-builder/Dockerfile
index 3ec934d..b4e1b4e 100644 (file)
 
 FROM ubuntu:14.04
 RUN apt-get update
-RUN apt-get install -y make python-setuptools python-all dpkg-dev debhelper \
+RUN apt-get install -y software-properties-common python-software-properties \
+    make python-setuptools python-all dpkg-dev debhelper \
     fuseiso git genisoimage bind9-host wget curl lintian tmux lxc iptables \
     ca-certificates sudo apt-utils lsb-release
 
 RUN echo "ALL ALL=NOPASSWD: ALL" > /etc/sudoers.d/open-sudo
 RUN chmod 0440 /etc/sudoers.d/open-sudo
+RUN chmod 4755 /bin/fusermount
 
 ADD ./setcontext /root/setcontext
 RUN chmod +x /root/setcontext
 ADD ./enable_dockerx2 /root/enable_dockerx2
 RUN chmod +x /root/enable_dockerx2
+ADD ./install.sh /root/install.sh
+RUN chmod +x /root/install.sh
+RUN /root/install.sh
+
 VOLUME /var/lib/docker