File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ ARG BUCK_VERSION=2022.05.05.01
19
19
# for Buck to pick it up correctly.
20
20
ARG NDK_VERSION_BUCK=21.4.7075529
21
21
ARG NDK_VERSION_GRADLE=23.1.7779620
22
- ARG NODE_VERSION=14.x
22
+ ARG NODE_VERSION=14
23
23
ARG WATCHMAN_VERSION=4.9.0
24
24
ARG CMAKE_VERSION=3.18.1
25
25
@@ -87,12 +87,12 @@ RUN apt update -qq && apt install -qq -y --no-install-recommends \
87
87
&& gem install bundler \
88
88
&& rm -rf /var/lib/apt/lists/*;
89
89
90
- # install nodejs and yarn packages from nodesource
91
- RUN curl -sL https://deb.nodesource .com/setup_${NODE_VERSION} | bash - \
92
- && apt-get update -qq \
93
- && apt-get install -qq -y --no-install-recommends nodejs \
94
- && npm i -g yarn \
95
- && rm -rf /var/lib/apt/lists/*
90
+ # install nodejs using n
91
+ RUN curl -L https://raw.githubusercontent .com/tj/n/master/bin/n -o n \
92
+ && bash n $NODE_VERSION \
93
+ && rm n \
94
+ && npm install -g n \
95
+ && npm install -g yarn
96
96
97
97
# download and install buck using the java11 pex from Jitpack
98
98
RUN curl -L https://jitpack.io/com/github/facebook/buck/v${BUCK_VERSION}/buck-v${BUCK_VERSION}-java11.pex -o /tmp/buck.pex \
You can’t perform that action at this time.
0 commit comments