You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (Jira)" <ji...@apache.org> on 2020/11/02 19:00:00 UTC

[jira] [Commented] (AIRAVATA-3381) Docker build failing: gyp ERR! stack Error: Can't find Python executable "python"

    [ https://issues.apache.org/jira/browse/AIRAVATA-3381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17224887#comment-17224887 ] 

Marcus Christie commented on AIRAVATA-3381:
-------------------------------------------

seems like the Docker image {{node:lts-alpine}} recently updated to no longer include python. Also missing are "make" and "g++", perhaps others. 

https://github.com/nodejs/docker-node/issues/1385

But I decided to just switch to the {{node:lts}} which is based on Debian and have the standard c library and build tools. This is a multi-stage build and the node image is only used to build the JS code. It isn't the base of the final image so the image size doesn't really matter so much. So might as well use a more "normal" base image instead of a slimmed down version.

> Docker build failing: gyp ERR! stack Error: Can't find Python executable "python"
> ---------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-3381
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3381
>             Project: Airavata
>          Issue Type: Bug
>          Components: Django Portal
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)