File tree Expand file tree Collapse file tree 1 file changed +3
-21
lines changed Expand file tree Collapse file tree 1 file changed +3
-21
lines changed Original file line number Diff line number Diff line change 1
- FROM alpine:3.18 AS build
2
-
3
1
ARG NODE_VERSION=16.20.1
4
- # Possible values: s390x, arm64, x64
5
- ARG NODE_ARCH
6
- ADD https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${NODE_ARCH}.tar.gz /
7
- RUN mkdir -p /nodejs && tar -xzf /node-v${NODE_VERSION}-linux-${NODE_ARCH}.tar.gz --strip-components=1 -C /nodejs
8
- ENV PATH=$PATH:/nodejs/bin
9
-
10
- RUN node --version
11
-
12
- # WORKDIR /mongodb-client-encryption
13
- # COPY . .
14
-
15
- # RUN apt-get -qq update && apt-get -qq install -y python3 build-essential && ldd --version
16
-
17
- # RUN npm run install:libmongocrypt
18
-
19
- # ARG RUN_TEST
20
- # RUN [ -n "$RUN_TEST" ] && npm run test || echo 'skipping testing!'
2
+ ARG ALPINE_VERSION=3.17.2
21
3
22
- # FROM scratch
4
+ FROM arm64v8/node:16-alpine AS node
23
5
24
- # COPY --from=build /mongodb-client-encryption/prebuilds/ /
6
+ RUN node -v
You can’t perform that action at this time.
0 commit comments