SC5 / gulp-bobrsass-boilerplate

Gulp BoBrSASS Boilerplate
7 stars 13 forks source link

Docker image building fails due to git-hooks #25

Closed juhamust closed 9 years ago

juhamust commented 9 years ago

Current Dockerfile runs the npm install to install both production and development time dependencies. However, git-hooks module expects to find .git/hooks folder and fails the install because it is missing

app@86755a9aa052:~$ npm install git-hooks
npm http GET https://registry.npmjs.org/git-hooks
npm http 200 https://registry.npmjs.org/git-hooks
npm http GET https://registry.npmjs.org/git-hooks/-/git-hooks-0.0.10.tgz
npm http 200 https://registry.npmjs.org/git-hooks/-/git-hooks-0.0.10.tgz

> git-hooks@0.0.10 postinstall /app/node_modules/git-hooks
> git-hooks --install

fatal: Not a git repository (or any of the parent directories): .git
mv: cannot stat 'hooks': No such file or directory
git-hooks@0.0.10 node_modules/git-hooks

Options are (possibly some others exists as well):

laurisvan commented 9 years ago

@juhamust There's a PR waiting, care to check it out? I wonder why it doesn't appear here (might be because I initally had a reference typo in the PR)