Version 0.0.1 of /fuel-bild
[genesis.git] / fuel-build / docker / README
1 ##############################################################################
2 # Copyright (c) 2015 Ericsson AB and others.
3 # stefan.k.berg@ericsson.com
4 # jonas.bjurel@ericsson.com
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 The makefile on this level is used for *creating* the Docker image
12 used for building in Ubuntu 12.04 context.
13
14 There are two requirements before running make on this level:
15
16 1. You need to have Docker installed on your system, and make sure
17 to have a valid DNS config in your /etc/default/docker.
18 e.g:
19 DOCKER_OPTS=" --dns=8.8.8.8 --dns=8.8.8.4"
20
21
22 2. You must have installed the package "debootstrap".
23
24 The top level makefile will refer to the "runcontext" file in order to
25 run the build process as the current user with the current working
26 directory available to the container.