Closed tna76874 closed 3 years ago
Sorry, I'm not sure. I don't use the Docker image personally.
It is still working for me, using docker-compose. I'm no expert but I can try to weigh in if you can show how you're creating the image and running the container.
You need to install util-linux
(this alpine package includes a binary for lscpu).
Make the following change to your Dockerfile:
RUN apk add util-linux \
&& npm install -g parcel-bundler \
&& npm install \
&& sh build.sh
Thank you for you answers. Unfortunately the building still fails. I append a full log of the building process of both modified and unmodified Dockerfile. docker.log docker_mod.log
Thanks!
The new error that you get with the modified Dockerfile is related to the parcel-bundler package. A fix is to explicitly specify the version of parcel-bundler in the Dockerfile:
npm install -g parcel-bundler@1.12.3
More details on this issue here: https://github.com/parcel-bundler/parcel/issues/5943
@jdespraz thats it ! Build is working - I append the log and die Dockerfile. docker_mod2.log
Thanks!
Hi there,
I don't know if it is me or some missing dependency, but the docker build fails with:
/bin/sh: lscpu: not found
Any ideas ?
Regards