astro/.Dockerfile
Maina Wycliffe f2989ec73b
Add a Github Codespace Config based on gitpod dockerfile (#4185)
* Add a codespace config based on gitpod dockerfile

This will ensure contributors using Github Codespaces also have to
correct environemnt setup, with all packages installed.

* chore: rename Dockerfile

Co-authored-by: Nate Moore <nate@astro.build>
2022-08-08 12:22:32 -05:00

8 lines
466 B
Docker

FROM gitpod/workspace-node
# Install latest pnpm
RUN curl -fsSL https://get.pnpm.io/install.sh | SHELL=`which bash` bash -
# Install deno in gitpod
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