Updates docs for SR1 with final revision
[genesis.git] / fuel / build / docker / ubuntu-builder / Dockerfile
1 #!/bin/bash
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 ##############################################################################
11
12 FROM ubuntu:14.04
13 RUN apt-get update
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 dosfstools
18
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
22
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
28 VOLUME /var/lib/docker