Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Anything Llm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
Mintplex Labs
Anything Llm
Commits
2afe3fae
Commit
2afe3fae
authored
1 year ago
by
timothycarambat
Browse files
Options
Downloads
Patches
Plain Diff
change how node is installed on docker
parent
ab1e9d66
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
docker/Dockerfile
+5
-2
5 additions, 2 deletions
docker/Dockerfile
with
5 additions
and
2 deletions
docker/Dockerfile
+
5
−
2
View file @
2afe3fae
...
...
@@ -8,13 +8,16 @@ ARG ARG_GID
# Install system dependencies
RUN
DEBIAN_FRONTEND
=
noninteractive apt-get update
&&
\
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-yq
--no-install-recommends
\
curl libgfortran5 python3 python3-pip tzdata netcat
\
curl
gnupg
libgfortran5 python3 python3-pip tzdata netcat
\
libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1
\
libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libx11-6 libx11-xcb1 libxcb1
\
libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1
\
libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release
\
xdg-utils
&&
\
curl
-fsSL
https://deb.nodesource.com/setup_18.x | bash -
&&
\
mkdir
-p
/etc/apt/keyrings
&&
\
curl
-fsSL
https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg
--dearmor
-o
/etc/apt/keyrings/nodesource.gpg
&&
\
echo
"deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main"
|
tee
/etc/apt/sources.list.d/nodesource.list
&&
\
apt-get update
&&
\
apt-get
install
-yq
--no-install-recommends
nodejs
&&
\
curl
-LO
https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn_1.22.19_all.deb
\
&&
dpkg
-i
yarn_1.22.19_all.deb
\
...
...
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