summaryrefslogtreecommitdiffstats
path: root/fuel-build/docker/ubuntu-builder/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'fuel-build/docker/ubuntu-builder/Dockerfile')
-rw-r--r--fuel-build/docker/ubuntu-builder/Dockerfile15
1 files changed, 11 insertions, 4 deletions
diff --git a/fuel-build/docker/ubuntu-builder/Dockerfile b/fuel-build/docker/ubuntu-builder/Dockerfile
index e91afbd..3ec934d 100644
--- a/fuel-build/docker/ubuntu-builder/Dockerfile
+++ b/fuel-build/docker/ubuntu-builder/Dockerfile
@@ -1,3 +1,4 @@
+#!/bin/bash
##############################################################################
# Copyright (c) 2015 Ericsson AB and others.
# stefan.k.berg@ericsson.com
@@ -8,11 +9,17 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
-FROM opnfv.org/ubuntu:12.04
-ADD install.sh /root/install.sh
-RUN /root/install.sh
+FROM ubuntu:14.04
+RUN apt-get update
+RUN apt-get install -y 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
+
+ADD ./setcontext /root/setcontext
+RUN chmod +x /root/setcontext
ADD ./enable_dockerx2 /root/enable_dockerx2
RUN chmod +x /root/enable_dockerx2
VOLUME /var/lib/docker
-CMD ["/root/enable_dockerx2"]