#Hitting npm build segfault 139

1 messages · Page 1 of 1 (latest)

unborn roost
#

Hitting a weird error trying to run npm build in dagger. It segfaults with 139.
When I build an equivalent dockerfile and run directly with docker build, it works.
When I use dockerBuild().. with that file from dagger, it segfaults.

Heres the dockerfile

# Use an official Python runtime as a parent image
FROM node:19

COPY . /app

# Set the working directory in the container
WORKDIR /app

RUN npm install
RUN npm run build

The app is a nextjs starter template.

Should I file a bug?

unborn roost
#

Wait, no, nvm. Fails with docker build too.

Guessing not a dagger issue