TheHive-Project / Hippocampe

Threat Feed Aggregation, Made Easy
https://thehive-project.org
GNU Affero General Public License v3.0
166 stars 44 forks source link

Develop Dockerfille won't build NPM not installed as part of Nodejs #40

Closed rayschippers closed 7 years ago

rayschippers commented 7 years ago

Bug

Work Environment

Question Answer
OS version (server) Docker build
OS version (client) N/a
Hippocampe version / git hash 8055289 (develop branch)
Package Type Docker
Browser type & version N/a

Problem Description

Dockerfile build errors with /bin/sh: npm: not found

Steps to Reproduce

  1. Checkout develop branch
  2. docker build .

Possible Solutions

Install nodejs-npm package in Dockerfile (as per my commit)

ninSmith commented 7 years ago

Dear @rayschippers

Thank you for raising this issue.

We are aware of this bug and are looking into it.

From our test, it works with docker 17.05.0 and docker compose 1.12.0. It doesn't work with docker 17.03.1 and docker compose 1.13.0.

Will keep you updated.