-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(multidim): make js-libp2p builds reproducible (#288)
- Loading branch information
Showing
5 changed files
with
22,315 additions
and
16 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,11 +1,11 @@ | ||
# Here because we want to fetch the node_modules within docker so that it's | ||
# installed on the same platform the test is run. Otherwise tools like `esbuild` will fail to run | ||
FROM node:18 | ||
FROM node:18.17.1 | ||
WORKDIR /app | ||
COPY . . | ||
RUN npm i && npm run build | ||
RUN apt-get update && apt-get install -y cmake | ||
COPY package*.json ./ | ||
RUN npm ci | ||
|
||
WORKDIR /app/interop | ||
RUN npm i && npm run build | ||
WORKDIR /app/node_modules/@libp2p/multidim-interop | ||
|
||
ENTRYPOINT [ "npm", "run", "test:interop:multidim", "--", "--build", "false", "--types", "false", "-t", "node" ] |
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
Oops, something went wrong.