summaryrefslogtreecommitdiffstats
path: root/fuel-build/docker/README
blob: 5d22bc94f0bc04dace4edcfdd23da4dc62d8265c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
##############################################################################
# Copyright (c) 2015 Ericsson AB and others.
# stefan.k.berg@ericsson.com
# jonas.bjurel@ericsson.com
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

The makefile on this level is used for *creating* the Docker image
used for building in Ubuntu 12.04 context.

There are two requirements before running make on this level:

1. You need to have Docker installed on your system, and make sure
to have a valid DNS config in your /etc/default/docker.
e.g:
DOCKER_OPTS=" --dns=8.8.8.8 --dns=8.8.8.4"


2. You must have installed the package "debootstrap".

The top level makefile will refer to the "runcontext" file in order to
run the build process as the current user with the current working
directory available to the container.