Skip to content

Commit

Permalink
Add inital Dockerfile which uses nvm to install the latest LTS versio…
Browse files Browse the repository at this point in the history
…n of Node.js.
  • Loading branch information
kevingurney committed Mar 8, 2023
1 parent 41a0080 commit bcb73ea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/Dockerfile
@@ -0,0 +1,3 @@
FROM ubuntu:22.04
COPY website.sh website.sh
RUN bash website.sh
7 changes: 7 additions & 0 deletions ci/website.sh
@@ -0,0 +1,7 @@
#!/bin/bash
NVM_VERSION="v0.39.3"
apt-get update && apt-get install --yes git curl
git clone https://github.com/nvm-sh/nvm.git
cd nvm && git checkout ${NVM_VERSION} && ./install.sh
source ~/.nvm/nvm.sh
nvm install --lts && nvm use --lts

0 comments on commit bcb73ea

Please sign in to comment.