summaryrefslogtreecommitdiffstats
path: root/fuel-build/docker/README
blob: e5ccdfab6ad527dc5c73bb3980fcfe631f84e493 (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
##############################################################################
# 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

2. If in a corporate network, 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"

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.