-
- Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Description
- Version: v14.1.0
- Platform: Linux ubuntu 5.4.0-1008-raspi modules: adding load linked modules feature #8-Ubuntu SMP Wed Apr 8 11:13:06 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
- Subsystem: Raspberry Pi Ubuntu
What steps will reproduce the bug?
I am trying to build a dockerfile on my Raspberry Pi 4, running arm64 Ubuntu. The same dockerfile runs fine on my main computer. The dockerfile is as follows:
FROM node:14 as builder WORKDIR /app COPY .client/package.json . COPY .package-lock.json . RUN npm install ... Upon building this file I get the following error:
Sending build context to Docker daemon 29.35MB Step 1/12 : FROM node:14 as builder ---> 70b24a2d7b95 Step 2/12 : WORKDIR /app ---> Using cache ---> 2ab48332f35b Step 3/12 : COPY .client/package.json . ---> Using cache ---> d7009f4cfa0b Step 4/12 : COPY .client/package-lock.json . ---> Using cache ---> 59d4f21519ed Step 5/12 : RUN npm install ---> Running in 84f62d84dcbe Aborted (core dumped) The command '/bin/sh -c npm install' returned a non-zero code: 134 The error code of 134 refers to running out of memory on the host, but I have checked both memory and storage and there seems to be plenty of space left. What could be the issue? Thank you!
Additional information
If I run the base image manually and open a terminal, I get the following:
# node -v v14.1.0 # npm -v Aborted (core dumped) # node Aborted (core dumped) Metadata
Metadata
Assignees
Labels
No labels