blablacar / dgr

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

Command to expose current targetWorkDir #193

Closed MattKetmo closed 8 years ago

MattKetmo commented 8 years ago

Add a command to expose current targetWorkDir. Something like:

$ dgr config targetWorkDir
/mnt/dgr

Why? To ease integration in scripts. For instance:

dgr build
VERSION=$(cat `dgr config targetWorkDir`/aci-foo/version))
n0rad commented 8 years ago

done in 74