Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Docker Android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zandor Smith
Docker Android
Commits
109dfce3
Unverified
Commit
109dfce3
authored
2 years ago
by
krudos
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
feat: use node version manager (#188)
* use n node version manager * remove extra install of node * remove temporal n
parent
a9ec4f39
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+7
-7
7 additions, 7 deletions
Dockerfile
with
7 additions
and
7 deletions
Dockerfile
+
7
−
7
View file @
109dfce3
...
...
@@ -19,7 +19,7 @@ ARG BUCK_VERSION=2022.05.05.01
# for Buck to pick it up correctly.
ARG
NDK_VERSION_BUCK=21.4.7075529
ARG
NDK_VERSION_GRADLE=23.1.7779620
ARG
NODE_VERSION=14
.x
ARG
NODE_VERSION=14
ARG
WATCHMAN_VERSION=4.9.0
ARG
CMAKE_VERSION=3.18.1
...
...
@@ -87,12 +87,12 @@ RUN apt update -qq && apt install -qq -y --no-install-recommends \
&& gem install bundler \
&& rm -rf /var/lib/apt/lists/*;
# install nodejs
and yarn packages from nodesource
RUN
curl
-
s
L
https://
deb.nodesource.com/setup_
${
NODE_VERSION
}
| bash -
\
&&
apt-get update
-qq
\
&&
apt-get
install
-qq
-y
--no-install-recommends
nodejs
\
&&
npm i
-g
yar
n
\
&&
rm
-rf
/var/lib/apt/lists/
*
# install nodejs
using n
RUN
curl
-L
https://
raw.githubusercontent.com/tj/n/master/bin/n
-o
n
\
&&
bash n
$NODE_VERSION
\
&&
rm
n
\
&&
npm
i
nstall
-g
n
\
&&
npm
install
-g
yarn
# download and install buck using the java11 pex from Jitpack
RUN curl -L https://jitpack.io/com/github/facebook/buck/v${BUCK_VERSION}/buck-v${BUCK_VERSION}-java11.pex -o /tmp/buck.pex \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment