{"action":"closed","issue":{"url":"https://api.github.com/repos/koreader/koreader-sync-server/issues/4","labels_url":"https://api.github.com/repos/koreader/koreader-sync-server/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/koreader/koreader-sync-server/issues/4/comments","events_url":"https://api.github.com/repos/koreader/koreader-sync-server/issues/4/events","html_url":"https://github.com/koreader/koreader-sync-server/issues/4","id":113263198,"number":4,"title":"The command '/bin/sh -c cd gin && patch -N -p1 < ../gin.patch' returned a non-zero code: 1","user":{"login":"gerroon","id":8519469,"avatar_url":"https://avatars.githubusercontent.com/u/8519469?v=3","gravatar_id":"","url":"https://api.github.com/users/gerroon","html_url":"https://github.com/gerroon","followers_url":"https://api.github.com/users/gerroon/followers","following_url":"https://api.github.com/users/gerroon/following{/other_user}","gists_url":"https://api.github.com/users/gerroon/gists{/gist_id}","starred_url":"https://api.github.com/users/gerroon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerroon/subscriptions","organizations_url":"https://api.github.com/users/gerroon/orgs","repos_url":"https://api.github.com/users/gerroon/repos","events_url":"https://api.github.com/users/gerroon/events{/privacy}","received_events_url":"https://api.github.com/users/gerroon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-25T23:59:21Z","updated_at":"2015-11-07T02:24:31Z","closed_at":"2015-11-07T02:24:31Z","body":"I cant seem to build the docker file as described. I get that message witt the first command \r\n\r\ndocker build --rm=true --tag=$USER/kosync .\r\n\r\n```\r\nStep 10 : RUN luarocks install luasec OPENSSL_LIBDIR=/usr/lib/x86_64-linux-gnu\r\n ---> Using cache\r\n ---> bb582e794c4c\r\nStep 11 : RUN git clone https://github.com/ostinelli/gin\r\n ---> Using cache\r\n ---> f1a7950aad91\r\nStep 12 : ADD gin.patch /app/gin.patch\r\n ---> Using cache\r\n ---> 73bc7e5addb2\r\nStep 13 : RUN cd gin && patch -N -p1 < ../gin.patch\r\n ---> Running in 36992032c3c7\r\ncan't find file to patch at input line 5\r\nPerhaps you used the wrong -p or --strip option?\r\nThe text leading up to this was:\r\n--------------------------\r\n|diff --git a/gin-0.1.4-1.rockspec b/gin-0.1.4-1.rockspec\r\n|index 9c014ce..d5ad04f 100644\r\n|--- a/gin-0.1.4-1.rockspec\r\n|+++ b/gin-0.1.4-1.rockspec\r\n--------------------------\r\nFile to patch: \r\nSkip this patch? [y] \r\nSkipping patch.\r\n1 out of 1 hunk ignored\r\npatching file gin/spec/runners/integration.lua\r\nHunk #1 succeeded at 1 with fuzz 1.\r\nHunk #2 succeeded at 83 (offset 1 line).\r\nHunk #3 succeeded at 93 (offset 1 line).\r\nThe command '/bin/sh -c cd gin && patch -N -p1 < ../gin.patch' returned a non-zero code: 1\r\n```\r\n\r\n\r\n\r\nI am not sure if this is a sync server issue or a docker issue.\r\n\r\nthanks\r\n"}}