blablacar / dgr

Container build and runtime tool
Apache License 2.0
248 stars 21 forks source link

Using local custom rootfs #199

Closed f0 closed 7 years ago

f0 commented 7 years ago

Hi,

is there a way to use a rootfs from a local tarball, or how can i access files from the builder in the rootdir?

regards f0

n0rad commented 7 years ago

You can use mount points to the builder

builder:
  mountPoints:
    - {from: ../, to: /code}

@blablacar, we are using it to build code project in the builder and output as an aci:

name: example.com/dummy
builder:
  dependencies:
    - example.com/aci-maven
    - example.com/aci-java
  mountPoints:
    - {from: ../, to: /code}
    - {from: ~/.m2, to: /root/.m2}
f0 commented 7 years ago

@n0rad thx.

n0rad commented 7 years ago

Now documented on readme.md