{"push_id":928829171,"size":1,"distinct_size":1,"ref":"refs/heads/carry-pr-8","head":"7aa453b1aece55c0cc1e0ddb3ef4f84ff9cdcf1d","before":"dfe220b1ddad3881ecedf394714c3b809e6ec9b7","commits":[{"sha":"7aa453b1aece55c0cc1e0ddb3ef4f84ff9cdcf1d","author":{"email":"b4d70704b9e7df580cab34510621dbd0aacb2dfd@suse.com","name":"Miquel Sabaté Solà"},"message":"docker: support relative paths for volumes\n\nConsider the following yaml file:\n\n```yaml\ntest:\n  image: opensuse:13.2\n  volumes:\n    - foo:/foo\n  command: sh -c 'echo Hello World'\n```\n\ndocker-compose can handle the above configuration file. However this\nimplementation fails because it cannot handle the relative path \"foo\". This\ncommit fixes this by adding a new function `ResolvePath` to the\n`ResourceLookup` interface (previously known as `ConfigLookup`) that is called\nwhen converting the config file. The `FileConfigLookup` type implements this\nfunction by converting relative paths to absolute paths.\n\nMoreover, this commit also merges two for loops that were dealing with volumes.\n\nSigned-off-by: Miquel Sabaté Solà <msabate@suse.com>","distinct":true,"url":"https://api.github.com/repos/vdemeester/libcompose/commits/7aa453b1aece55c0cc1e0ddb3ef4f84ff9cdcf1d"}]}