Deno Setup with Gitpod
Deno Gitpod docker

Deno Setup with Gitpod

What id Gitpod?

Gitpod can provide fully initialized, perfectly set-up developer environments for any kind of software project. 

What is Deno?

modern runtime for JavaScript and TypeScript.

Installation

Deno ships as a single executable with no dependencies. You can install it.

Let see how you can install deno in Gitpod

Setting up the Dockerfile

Add a Dockerfile to your project as .gitpod.Dockerfile:

FROM gitpod/workspace-ful


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-denol        
No alt text provided for this image

And configure this Dockerfile in your .gitpod.yml:

image:
  file: .gitpod.Dockerfile        
No alt text provided for this image

To view or add a comment, sign in

More articles by Manoj Mukherjee

Explore content categories