From 76cf8aa0d8da2aa6c6b7ddeb1692c08d4d74128a Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Mon, 3 Oct 2022 14:56:21 +0000 Subject: [PATCH] Deno env --- .gitpod.Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 1c4c6aba..52f2f7e9 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -1,7 +1,6 @@ FROM gitpod/workspace-full:latest -RUN bash -c 'VERSION="18" \ - && source $HOME/.nvm/nvm.sh && nvm install $VERSION \ - && nvm use $VERSION && nvm alias default $VERSION' - -RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix +RUN curl -fsSL https://deno.land/x/install/install.sh | sh +RUN /home/gitpod/.deno/bin/deno completions bash > /home/gitpod/.bashrc.d/90-deno && \ + echo 'export DENO_INSTALL="/home/gitpod/.deno"' >> /home/gitpod/.bashrc.d/90-deno && \ + echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> /home/gitpod/.bashrc.d/90-deno \ No newline at end of file