2 ##############################################################################
3 # Copyright (c) 2015 Ericsson AB and others.
4 # stefan.k.berg@ericsson.com
5 # jonas.bjurel@ericsson.com
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Apache License, Version 2.0
8 # which accompanies this distribution, and is available at
9 # http://www.apache.org/licenses/LICENSE-2.0
10 ##############################################################################
14 RUN apt-get install -y software-properties-common python-software-properties \
15 make python-setuptools python-all dpkg-dev debhelper \
16 fuseiso git genisoimage bind9-host wget curl lintian tmux lxc iptables \
17 ca-certificates sudo apt-utils lsb-release
19 RUN echo "ALL ALL=NOPASSWD: ALL" > /etc/sudoers.d/open-sudo
20 RUN chmod 0440 /etc/sudoers.d/open-sudo
21 RUN chmod 4755 /bin/fusermount
23 ADD ./setcontext /root/setcontext
24 RUN chmod +x /root/setcontext
25 ADD ./enable_dockerx2 /root/enable_dockerx2
26 RUN chmod +x /root/enable_dockerx2
27 ADD ./install.sh /root/install.sh
28 RUN chmod +x /root/install.sh
31 VOLUME /var/lib/docker