Age | Commit message (Collapse) | Author | Files | Lines |
|
In this commit I tried to follow a behaviour of docker. If mounted
path does not exist then it will handle it as a directory - it
creates it and the mountpoint is expected to be a directory also.
If the mounted path is a plain file it will do file bind mounting.
The mountpoint must be a plain file.
Change-Id: Ie8b29442c8ebb8da389ba6c9a152a49d8cf6e9be
Issue-ID: OOM-1575
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
This will change in a future commit to be little more flexible.
As of now it fixes some usage when host system has defined
some custom resolving which are needed.
Change-Id: Ifea2ba087982006c0a399d1b225d7ab13f7e94da
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
|
|
|
|
Script uses namespaces and overlayfs to be more robust.
Also it supports bind mounting to extend the chroot with
external files and directories.
Issue-ID: OOM-1551
Change-Id: I8c554e1b86fca86f86e6c0d0e1b106c97a08ef15
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
The docker image will be exported into a tar archive
containing the chroot directory
Issue-ID: OOM-1551
Change-Id: I8709ffd59156243e42bebbaf03838120149d47b0
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
To avoid including the created image in the git by accident
Issue-ID: OOM-1551
Change-Id: I7144a063ed45ee8511912adb2aa1024965d452d0
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
Dockerfile and script for building the image
Change-Id: If1e83095463ae209e284ba92898447a1205a2244
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|