This repository was archived by the owner on Feb 12, 2024. It is now read-only.
File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
- FROM mhart/alpine- node:15
1
+ FROM node:16-alpine
2
2
3
3
ENV IPFS_VERSION=latest
4
4
ENV IPFS_MONITORING=1
@@ -7,9 +7,12 @@ ENV BUILD_DEPS='libnspr4 libnspr4-dev libnss3'
7
7
8
8
RUN apk add --no-cache git python3 build-base
9
9
10
- RUN npm install --unsafe-perm -g ipfs@"$IPFS_VERSION"
10
+ # Hopefully remove when https://github.com/node-webrtc/node-webrtc/pull/694 is merged
11
+ RUN npm install -g @mapbox/node-pre-gyp
12
+ RUN npm install -g ipfs@"$IPFS_VERSION"
11
13
12
14
# Make the image a bit smaller
15
+ RUN npm uninstall -g @mapbox/node-pre-gyp
13
16
RUN npm cache clear --force
14
17
RUN apk del build-base python3 git
15
18
Original file line number Diff line number Diff line change 1
- FROM mhart/alpine- node:15
1
+ FROM node:16-alpine
2
2
3
3
ENV IPFS_VERSION=next
4
4
ENV IPFS_MONITORING=1
@@ -7,9 +7,12 @@ ENV BUILD_DEPS='libnspr4 libnspr4-dev libnss3'
7
7
8
8
RUN apk add --no-cache git python3 build-base
9
9
10
- RUN npm install --unsafe-perm -g ipfs@"$IPFS_VERSION"
10
+ # Hopefully remove when https://github.com/node-webrtc/node-webrtc/pull/694 is merged
11
+ RUN npm install -g @mapbox/node-pre-gyp
12
+ RUN npm install -g ipfs@"$IPFS_VERSION"
11
13
12
14
# Make the image a bit smaller
15
+ RUN npm uninstall -g @mapbox/node-pre-gyp
13
16
RUN npm cache clear --force
14
17
RUN apk del build-base python3 git
15
18
You can’t perform that action at this time.
0 commit comments