Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci-pipeline
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
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
IOPSYS
gitlab-ci-pipeline
Commits
29982dcc
Commit
29982dcc
authored
3 years ago
by
Suru Dissanaike
Browse files
Options
Downloads
Patches
Plain Diff
Clean-up nvm
parent
b0052616
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/code-analysis/Dockerfile
+9
-9
9 additions, 9 deletions
docker/code-analysis/Dockerfile
with
9 additions
and
9 deletions
docker/code-analysis/Dockerfile
+
9
−
9
View file @
29982dcc
...
...
@@ -69,20 +69,20 @@ RUN \
# Remove cached packages.
RUN
rm
-rf
/var/lib/apt/lists/
*
RUN
mkdir
/opt/dev
RUN
mkdir
/etc/config
# install node
ENV
NODE_VERSION=14.16.1
RUN
curl
-o-
https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
ENV
NVM_DIR=/root/.nvm
RUN
.
"
$NVM_DIR
/nvm.sh"
&&
nvm
install
${
NODE_VERSION
}
RUN
.
"
$NVM_DIR
/nvm.sh"
&&
nvm use v
${
NODE_VERSION
}
RUN
.
"
$NVM_DIR
/nvm.sh"
&&
nvm
alias
default v
${
NODE_VERSION
}
ARG
NODE_VERSION=14.16.1
ENV
PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}"
RUN
node
--version
RUN
npm
--version
ENV
NVM_DIR=/root/.nvm
RUN
curl
-o-
https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
&&
\
.
"
$NVM_DIR
/nvm.sh"
&&
\
nvm
install
${
NODE_VERSION
}
&&
\
nvm use v
${
NODE_VERSION
}
&&
\
nvm
alias
default v
${
NODE_VERSION
}
&&
\
npm
install
--global
typescript yarn
# install tap-junit
RUN
npm i
-g
tap-junit
...
...
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