Skip to content

Commit f3b42fe

Browse files
authored
[FIX] downgrade to node v16.15.1 and fix runtime image node_modules COPY command (#404)
* downgrade to node v16.15.1 * fix COPY command in runtime images
1 parent b58430f commit f3b42fe

21 files changed

+52
-52
lines changed

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
update:
1919
name: Update Docs
2020
runs-on: ubuntu-20.04
21-
container: node:18.2.0-bullseye
21+
container: node:16.15.1-bullseye
2222
steps:
2323
- name: Checkout main
2424
uses: actions/checkout@v2

.github/workflows/main.pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
CUDA: [11.6.2]
1616
LINUX: ["ubuntu20.04"]
1717
env:
18-
NODE: 18.2.0
18+
NODE: 16.15.1
1919
RAPIDS: 22.02.00
2020
REPOSITORY: ghcr.io/rapidsai/node
2121
steps:

.github/workflows/merge.pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
env:
9-
NODE: "18.2.0"
9+
NODE: "16.15.1"
1010
RAPIDS: "22.02.00"
1111
REPOSITORY: "ghcr.io/rapidsai/node"
1212

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Create GitHub release
22

33
env:
4-
NODE: "18.2.0"
4+
NODE: "16.15.1"
55
RAPIDS: "22.02.00"
66
VERSION: "0.0.1"
77
REPOSITORY: "ghcr.io/rapidsai/node"

USAGE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ The following will retrieve the docker image with each library (+ its native and
2828
```bash
2929
REPO=ghcr.io/rapidsai/node
3030

31-
VERSIONS="22.02.00-runtime-node18.2.0-cuda11.6.2-ubuntu20.04"
31+
VERSIONS="22.02.00-runtime-node16.15.1-cuda11.6.2-ubuntu20.04"
3232
docker pull $REPO:$VERSIONS-cudf
3333
docker pull $REPO:$VERSIONS-cuml
3434
docker pull $REPO:$VERSIONS-cugraph
3535
docker pull $REPO:$VERSIONS-cuspatial
3636

37-
VERSIONS="22.02.00-runtime-node18.2.0-cuda11.6.2-ubuntu20.04"
37+
VERSIONS="22.02.00-runtime-node16.15.1-cuda11.6.2-ubuntu20.04"
3838
docker pull $REPO:$VERSIONS-glfw
3939

4040
# Includes all the above RAPIDS libraries in a single image
@@ -50,7 +50,7 @@ Like the official node images, the default command in the runtime images is `nod
5050

5151
```bash
5252
REPO=ghcr.io/rapidsai/node
53-
VERSIONS="22.02.00-runtime-node18.2.0-cuda11.6.2-ubuntu20.04"
53+
VERSIONS="22.02.00-runtime-node16.15.1-cuda11.6.2-ubuntu20.04"
5454

5555
# Be sure to pass either the `--runtime=nvidia` or `--gpus` flag!
5656
docker run --rm --gpus=0 $REPO:$VERSIONS-cudf \
@@ -67,7 +67,7 @@ You can mount your host's X11 socket and `$DISPLAY` envvar, then launch demos th
6767

6868
```bash
6969
REPO=ghcr.io/rapidsai/node
70-
VERSIONS="22.02.00-runtime-node18.2.0-cuda11.6.2-ubuntu20.04"
70+
VERSIONS="22.02.00-runtime-node16.15.1-cuda11.6.2-ubuntu20.04"
7171

7272
# Be sure to pass either the `--runtime=nvidia` or `--gpus` flag!
7373
docker run --rm \
@@ -94,7 +94,7 @@ You can use the following technique to install the npm-packed modules into anoth
9494

9595
```bash
9696
REPO=ghcr.io/rapidsai/node
97-
VERSIONS="22.02.00-devel-node18.2.0-cuda11.6.2-ubuntu20.04"
97+
VERSIONS="22.02.00-devel-node16.15.1-cuda11.6.2-ubuntu20.04"
9898

9999
# Pull the latest image of the packaged .tgz artifacts
100100
docker pull $REPO:$VERSIONS-packages

dev/dockerfiles/devel/main.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
ARG AMD64_BASE
44
ARG ARM64_BASE
5-
ARG NODE_VERSION=18.2.0
5+
ARG NODE_VERSION=16.15.1
66

77
FROM node:$NODE_VERSION-bullseye-slim as node
88

@@ -40,7 +40,7 @@ ARG GCC_VERSION=9
4040
ARG CMAKE_VERSION=3.21.3
4141
ARG SCCACHE_VERSION=0.2.15
4242

43-
ARG NODE_VERSION=18.2.0
43+
ARG NODE_VERSION=16.15.1
4444
ENV NODE_VERSION=$NODE_VERSION
4545

4646
# Install node

dev/dockerfiles/runtime/cudf.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ SHELL ["/bin/bash", "-c"]
2020

2121
WORKDIR /home/node
2222

23-
COPY --from=devel --chown=node:node /home/node/node_modules .
23+
COPY --from=devel --chown=node:node /home/node/node_modules node_modules
2424

2525
SHELL ["/bin/bash", "-l"]
2626

dev/dockerfiles/runtime/cugraph.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ SHELL ["/bin/bash", "-c"]
2121

2222
WORKDIR /home/node
2323

24-
COPY --from=devel --chown=node:node /home/node/node_modules .
24+
COPY --from=devel --chown=node:node /home/node/node_modules node_modules
2525

2626
SHELL ["/bin/bash", "-l"]
2727

dev/dockerfiles/runtime/cuml.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ SHELL ["/bin/bash", "-c"]
2121

2222
WORKDIR /home/node
2323

24-
COPY --from=devel --chown=node:node /home/node/node_modules .
24+
COPY --from=devel --chown=node:node /home/node/node_modules node_modules
2525

2626
SHELL ["/bin/bash", "-l"]
2727

dev/dockerfiles/runtime/cuspatial.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ USER node
3939

4040
WORKDIR /home/node
4141

42-
COPY --from=devel --chown=node:node /home/node/node_modules .
42+
COPY --from=devel --chown=node:node /home/node/node_modules node_modules
4343

4444
SHELL ["/bin/bash", "-l"]
4545

0 commit comments

Comments
 (0)