-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[skip ci] fix linux amd64 build failed
- Loading branch information
Showing
4 changed files
with
8 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
FROM public.ecr.aws/lambda/nodejs:18 | ||
COPY package*.json ./ | ||
RUN npm ci --ignore-scripts | ||
|
||
RUN yum -y install wget tar gzip gcc gcc-c++ make lapack-devel | ||
FROM node:18-buster | ||
WORKDIR /app | ||
RUN apt update && apt install -y cmake libopenblas-dev patchelf | ||
RUN wget -q https://github.com/Kitware/CMake/releases/download/v3.27.0/cmake-3.27.0-linux-x86_64.sh && \ | ||
sh cmake-3.27.0-linux-x86_64.sh --skip-license --exclude-subdir --prefix=/usr/local | ||
|
||
COPY package*.json ./ | ||
RUN npm ci --ignore-scripts | ||
COPY . . | ||
|
||
ENTRYPOINT ["tail"] | ||
CMD ["-f","/dev/null"] | ||
ENTRYPOINT ["npm"] | ||
CMD ["run", "build:test"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.