diff --git a/ci/Dockerfile b/ci/Dockerfile new file mode 100644 index 000000000000..54f63930fefe --- /dev/null +++ b/ci/Dockerfile @@ -0,0 +1,3 @@ +FROM ubuntu:22.04 +COPY website.sh website.sh +RUN bash website.sh diff --git a/ci/website.sh b/ci/website.sh new file mode 100755 index 000000000000..63cee2404feb --- /dev/null +++ b/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