{"action":"created","issue":{"url":"https://api.github.com/repos/buildkite-plugins/docker-buildkite-plugin/issues/137","repository_url":"https://api.github.com/repos/buildkite-plugins/docker-buildkite-plugin","labels_url":"https://api.github.com/repos/buildkite-plugins/docker-buildkite-plugin/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/buildkite-plugins/docker-buildkite-plugin/issues/137/comments","events_url":"https://api.github.com/repos/buildkite-plugins/docker-buildkite-plugin/issues/137/events","html_url":"https://github.com/buildkite-plugins/docker-buildkite-plugin/issues/137","id":466529426,"node_id":"MDU6SXNzdWU0NjY1Mjk0MjY=","number":137,"title":"mount-buildkite-agent & empty directory","user":{"login":"NorseGaud","id":5896030,"node_id":"MDQ6VXNlcjU4OTYwMzA=","avatar_url":"https://avatars3.githubusercontent.com/u/5896030?v=4","gravatar_id":"","url":"https://api.github.com/users/NorseGaud","html_url":"https://github.com/NorseGaud","followers_url":"https://api.github.com/users/NorseGaud/followers","following_url":"https://api.github.com/users/NorseGaud/following{/other_user}","gists_url":"https://api.github.com/users/NorseGaud/gists{/gist_id}","starred_url":"https://api.github.com/users/NorseGaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NorseGaud/subscriptions","organizations_url":"https://api.github.com/users/NorseGaud/orgs","repos_url":"https://api.github.com/users/NorseGaud/repos","events_url":"https://api.github.com/users/NorseGaud/events{/privacy}","received_events_url":"https://api.github.com/users/NorseGaud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2019-07-10T21:25:32Z","updated_at":"2019-07-25T17:44:35Z","closed_at":null,"author_association":"NONE","body":"I've got the following\r\n```\r\n  - label: \":centos: [CentOS] 7 Ensure Dependency Image Exists\"\r\n    command:\r\n      - \"$APT_PREP\"\r\n      # - \"mkdir -p ~/.ssh && chmod 600 ~/.ssh && ssh-keyscan -H github.com >> ~/.ssh/known_hosts\"\r\n      - \"$ENSURE_LINUX_IMAGE centos:7 $IMAGE_TAG_VERSION\"\r\n    agents:\r\n      queue: \"automation-eos-builder-fleet\"\r\n    plugins:\r\n      - docker#v3.2.0:\r\n          image: \"ubuntu:18.04\"\r\n          shell: [\"/bin/bash\", \"-i\", \"-e\", \"-c\"]\r\n          debug: true\r\n    timeout: 120\r\n    skip: $SKIP_CENTOS_7\r\n```\r\n\r\nBuildkite is showing that running as \r\n```\r\ndocker run -it --rm --init --volume /home/kubernetes/flexvolume/buildkite/builds/buildkite-k8s-agents-eos-builder-588d697f99-wgml2-1/EOSIO/base-images-test:/workdir --workdir /workdir --env BUILDKITE_JOB_ID --env BUILDKITE_BUILD_ID --env BUILDKITE_AGENT_ACCESS_TOKEN --volume /usr/local/bin/buildkite-agent:/usr/bin/buildkite-agent ubuntu:18.04 /bin/bash -i -e -c apt-get update && apt-get upgrade -y && apt-get install -y git sudo jq\r\n```\r\n\r\nHowever, I `ls -laht /usr/bin/buildkite-agent` and see an empty directory.\r\n\r\nAny ideas what's wrong?"},"comment":{"url":"https://api.github.com/repos/buildkite-plugins/docker-buildkite-plugin/issues/comments/515143642","html_url":"https://github.com/buildkite-plugins/docker-buildkite-plugin/issues/137#issuecomment-515143642","issue_url":"https://api.github.com/repos/buildkite-plugins/docker-buildkite-plugin/issues/137","id":515143642,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNTE0MzY0Mg==","user":{"login":"NorseGaud","id":5896030,"node_id":"MDQ6VXNlcjU4OTYwMzA=","avatar_url":"https://avatars3.githubusercontent.com/u/5896030?v=4","gravatar_id":"","url":"https://api.github.com/users/NorseGaud","html_url":"https://github.com/NorseGaud","followers_url":"https://api.github.com/users/NorseGaud/followers","following_url":"https://api.github.com/users/NorseGaud/following{/other_user}","gists_url":"https://api.github.com/users/NorseGaud/gists{/gist_id}","starred_url":"https://api.github.com/users/NorseGaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NorseGaud/subscriptions","organizations_url":"https://api.github.com/users/NorseGaud/orgs","repos_url":"https://api.github.com/users/NorseGaud/repos","events_url":"https://api.github.com/users/NorseGaud/events{/privacy}","received_events_url":"https://api.github.com/users/NorseGaud/received_events","type":"User","site_admin":false},"created_at":"2019-07-25T17:44:35Z","updated_at":"2019-07-25T17:44:35Z","author_association":"NONE","body":"Furthermore, mounting the dir where it is doesn't work either:\r\n```\r\ndocker run -ti --rm -v $(pwd):/workdir -v /usr/local/bin:/host-bin eosio/producer:eosio-ubuntu-18.04-97c66ab9db7382be04dea9e9598fd110d66432f1 bash\r\nroot@44a3b6b66446:/# ls -laht /host-bin/\r\ntotal 158M\r\ndrwxr-xr-x 1 root root 4.0K Jul 25 17:43 ..\r\ndrwxr-xr-x 2 root root 2.0K Feb 13 10:29 .\r\n-rwxr-xr-x 1 root root  27M Feb 10 04:14 containerd\r\n-rwxr-xr-x 1 root root 4.8M Feb 10 04:14 containerd-shim\r\n-rwxr-xr-x 1 root root  15M Feb 10 04:14 ctr\r\n-rwxr-xr-x 1 root root  49M Feb 10 04:14 docker\r\n-rwxr-xr-x 1 root root 747K Feb 10 04:14 docker-init\r\n-rwxr-xr-x 1 root root 2.8M Feb 10 04:14 docker-proxy\r\n-rwxr-xr-x 1 root root  52M Feb 10 04:14 dockerd\r\n-rwxr-xr-x 1 root root 7.2M Feb 10 04:14 runc\r\n```"}}
{"actor":{"display_login":"NorseGaud"}}