fix: .drone.yml

main
ycz008 2023-08-03 16:43:03 +08:00
parent 67e3754050
commit f3f6a8ff1c
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
FROM ubuntu:23.04
LABEL smallkoudai <smallkoudai@gmail.com>
RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates curl git git-lfs && \
mkdir -p $HOME/.nvm && \
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash && \
. $HOME/.bashrc && \
nvm install 16.20.1 && nvm alias default && nvm install 18.17.0 && nvm install 20.5.0
ENV NVM_DIR=$HOME/.nvm