{"action":"opened","issue":{"url":"https://api.github.com/repos/magneticio/vamp/issues/202","labels_url":"https://api.github.com/repos/magneticio/vamp/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/magneticio/vamp/issues/202/comments","events_url":"https://api.github.com/repos/magneticio/vamp/issues/202/events","html_url":"https://github.com/magneticio/vamp/issues/202","id":89268203,"number":202,"title":"Docker driver doesn't pass the full array of environment variables.","user":{"login":"tnolet","id":3802923,"avatar_url":"https://avatars.githubusercontent.com/u/3802923?v=3","gravatar_id":"","url":"https://api.github.com/users/tnolet","html_url":"https://github.com/tnolet","followers_url":"https://api.github.com/users/tnolet/followers","following_url":"https://api.github.com/users/tnolet/following{/other_user}","gists_url":"https://api.github.com/users/tnolet/gists{/gist_id}","starred_url":"https://api.github.com/users/tnolet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnolet/subscriptions","organizations_url":"https://api.github.com/users/tnolet/orgs","repos_url":"https://api.github.com/users/tnolet/repos","events_url":"https://api.github.com/users/tnolet/events{/privacy}","received_events_url":"https://api.github.com/users/tnolet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magneticio/vamp/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/magneticio/vamp/milestones/6","html_url":"https://github.com/magneticio/vamp/milestones/0.7.8","labels_url":"https://api.github.com/repos/magneticio/vamp/milestones/6/labels","id":1149096,"number":6,"title":"0.7.8","description":"- Polish CLI\r\n- Prepare for UI integration\r\n- Optimize build pipeline\r\n- Scripting MVP\r\n- Endpoint MVP","creator":{"login":"plamola","id":3274822,"avatar_url":"https://avatars.githubusercontent.com/u/3274822?v=3","gravatar_id":"","url":"https://api.github.com/users/plamola","html_url":"https://github.com/plamola","followers_url":"https://api.github.com/users/plamola/followers","following_url":"https://api.github.com/users/plamola/following{/other_user}","gists_url":"https://api.github.com/users/plamola/gists{/gist_id}","starred_url":"https://api.github.com/users/plamola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plamola/subscriptions","organizations_url":"https://api.github.com/users/plamola/orgs","repos_url":"https://api.github.com/users/plamola/repos","events_url":"https://api.github.com/users/plamola/events{/privacy}","received_events_url":"https://api.github.com/users/plamola/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":25,"state":"open","created_at":"2015-06-04T08:46:26Z","updated_at":"2015-06-18T11:31:24Z","due_on":"2015-06-28T22:00:00Z","closed_at":null},"comments":0,"created_at":"2015-06-18T11:31:24Z","updated_at":"2015-06-18T11:31:24Z","closed_at":null,"body":"It seems to only pass the last entry in the map. When I provide the following blueprint:\r\n\r\n```yaml\r\nname: monarchs:1.0\r\nendpoints:\r\n  frontend.port: 9050\r\nclusters:\r\n  frontend:\r\n    services:\r\n      -\r\n        breed:\r\n          name: monarch_front:0.1\r\n          deployable: magneticio/monarch:0.1\r\n          ports:\r\n            port: 8080/http\r\n          dependencies:\r\n            backend: monarch_backend:0.3\r\n          environment_variables:\r\n           MONARCH_DEPENDS_ON_HOST: $backend.host\r\n           MONARCH_DEPENDS_ON_PORT: $backend.ports.jdbc\r\n        routing:\r\n          weight: 100\r\n        scale:\r\n          cpu: 0.1\r\n          memory: 256\r\n          instances: 1\r\n      -    \r\n        breed:\r\n          name: monarch_front:0.2\r\n          deployable: magneticio/monarch:0.2\r\n          ports:\r\n            port: 8080/http\r\n          environment_variables:\r\n           MONARCH_DEPENDS_ON_HOST: $backend.host\r\n           MONARCH_DEPENDS_ON_PORT: $backend.ports.jdbc\r\n          dependencies:\r\n            backend: monarch_backend:0.3            \r\n        routing:\r\n          weight: 0\r\n          filters:\r\n            - condition: user-agent = Chrome               \r\n        scale:\r\n          cpu: 0.1\r\n          memory: 256\r\n          instances: 1\r\n  backend:\r\n    services:\r\n      breed:\r\n        name: monarch_backend:0.3\r\n        deployable: magneticio/monarch:0.3\r\n        ports:\r\n          jdbc: 8080/http\r\n```\r\n\r\nonly the last one ends up in the Docker containers' environment, i.e.:\r\n\r\n```\r\n        \"Env\": [\r\n            \"MONARCH_DEPENDS_ON_PORT=12345\",\r\n            \"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\r\n        ],\r\n```\r\n"}}