{"action":"opened","issue":{"url":"https://api.github.com/repos/joeferner/redis-commander/issues/279","repository_url":"https://api.github.com/repos/joeferner/redis-commander","labels_url":"https://api.github.com/repos/joeferner/redis-commander/issues/279/labels{/name}","comments_url":"https://api.github.com/repos/joeferner/redis-commander/issues/279/comments","events_url":"https://api.github.com/repos/joeferner/redis-commander/issues/279/events","html_url":"https://github.com/joeferner/redis-commander/issues/279","id":355655497,"node_id":"MDU6SXNzdWUzNTU2NTU0OTc=","number":279,"title":"Error `/bin/sh: apk: not found` in Docker image","user":{"login":"ebreton","id":490665,"node_id":"MDQ6VXNlcjQ5MDY2NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/490665?v=4","gravatar_id":"","url":"https://api.github.com/users/ebreton","html_url":"https://github.com/ebreton","followers_url":"https://api.github.com/users/ebreton/followers","following_url":"https://api.github.com/users/ebreton/following{/other_user}","gists_url":"https://api.github.com/users/ebreton/gists{/gist_id}","starred_url":"https://api.github.com/users/ebreton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebreton/subscriptions","organizations_url":"https://api.github.com/users/ebreton/orgs","repos_url":"https://api.github.com/users/ebreton/repos","events_url":"https://api.github.com/users/ebreton/events{/privacy}","received_events_url":"https://api.github.com/users/ebreton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-30T16:10:18Z","updated_at":"2018-08-30T16:10:18Z","closed_at":null,"author_association":"NONE","body":"Hello, \r\n\r\n**Description of the bug:** When trying to execute the command `RUN  apk --no-cache add bind-tools` in a docker image FROM the redis-container one, the exception `/bin/sh: apk: not found` is raised\r\n\r\n**Result expected:** the the apk command executes correctly and bind-tools is installed\r\n\r\n## Steps to reproduce\r\n\r\n- Write the following Dockerfile: \r\n```\r\nFROM rediscommander/redis-commander\r\n\r\nRUN  apk --no-cache add bind-tools\r\n```\r\n\r\n- Run the build command\r\n```\r\n$ docker build .\r\nSending build context to Docker daemon  2.048kB\r\nStep 1/2 : FROM rediscommander/redis-commander\r\n ---> a45adc980a54\r\nStep 2/2 : RUN  apk --no-cache add bind-tools\r\n ---> Running in c322effff4b2\r\n/bin/sh: apk: not found\r\nThe command '/bin/sh -c apk --no-cache add bind-tools' returned a non-zero code: 127\r\n```\r\n\r\n## More information:\r\n\r\nThe command runs properly on the docker image `node:8-alpine`, FROM which the redis-commander image inherits\r\n```\r\n$ docker run --rm node:8-alpine which apk\r\n/sbin/apk\r\n$ docker run --rm rediscommander/redis-commander which apk\r\n\r\n$\r\n```\r\n"}}
{"actor":{"display_login":"ebreton"}}