gpu.js icon indicating copy to clipboard operation
gpu.js copied to clipboard

Error in docker container (alpine)

Open xakep-sava opened this issue 4 years ago • 0 comments

Problem:

Hello! I get an error in the Docker container (alpine). Everything works fine without the container.

Error:

Segmentation fault (core dumped)

System information:

Ubuntu 20.04.2 LTS Docker 20.10.6 Node 14.16.0 Npm 6.14.11 Yarn 1.22.5 gpu.js 2.11.3

Dokerfile:

FROM node:14-alpine

RUN node -v && npm -v && yarn -v
RUN apk --no-cache add --virtual python make libxi-dev mesa mesa-dev g++ && rm -rf /var/cache/apk/*

....

Code:

const { GPU } = require('gpu.js');
const gpu = new GPU();

xakep-sava avatar May 14 '21 11:05 xakep-sava