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 ##############################################################################
11 The makefile on this level is used for *creating* the Docker image
12 used for building in Ubuntu 12.04 context.
14 There are two requirements before running make on this level:
16 1. You need to have Docker installed on your system
18 2. If in a corporate network, make sure to have a valid DNS config in
19 your /etc/default/docker, e.g:
21 DOCKER_OPTS=" --dns=8.8.8.8 --dns=8.8.8.4"
23 The top level makefile will refer to the "runcontext" file in order to
24 run the build process as the current user with the current working
25 directory available to the container.