You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/10/15 14:17:19 UTC

[GitHub] [couchdb-fauxton] willholley commented on issue #1234: Error in build for ppc64le under qemu, debian stretch

willholley commented on issue #1234: Error in build for ppc64le under qemu, debian stretch
URL: https://github.com/apache/couchdb-fauxton/issues/1234#issuecomment-542235538
 
 
   It seems upgrading to node 12 is one workaround. I tested with the following Dockerfile:
   
   ```
   FROM node:12-stretch-slim
   
   RUN apt-get update && apt-get install -y git; \
       git clone https://github.com/apache/couchdb-fauxton.git; \
       cd couchdb-fauxton; \
       npm install --production && ./node_modules/grunt-cli/bin/grunt couchdb
   ```
   
   Using base image `node:10-stretch-slim` results in the `ERR_OUT_OF_RANGE` error.
   
   Also confirmed the workaround using our CI image created by `NODEVERSION=12 ./build.sh platform debian-stretch` and the following Dockerfile:
   
   ```
   FROM couchdbdev/debian-stretch-erlang-20.3.8.22-1:latest
   
   WORKDIR /usr/src
   
   USER root
   
   RUN apt-get update && apt-get install -y git; \
       git clone https://github.com/apache/couchdb-fauxton.git; \
       cd couchdb-fauxton; \
       npm install --production && ./node_modules/grunt-cli/bin/grunt couchdb
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services