-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.Dockerfile
33 lines (25 loc) · 1.12 KB
/
.gitpod.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM gitpod/workspace-node:latest
# Update system
RUN sudo apt update && sudo apt upgrade -y
# install-packages is a wrapper for `apt` that helps skip a few commands in the docker env.
# RUN sudo install-packages mysql-client
# # Setup Yarn
# RUN corepack enable
# RUN corepack prepare yarn@stable --activate
# Setup Pnpm and Install Nest.js CLI
RUN corepack enable &&\
corepack prepare pnpm@latest --activate &&\
pnpm add -g @nestjs/cli
# Install planetscale-cli
# RUN wget https://github.com/planetscale/cli/releases/download/v0.129.0/pscale_0.129.0_linux_amd64.deb \
# sudo dpkg -i pscale_0.129.0_linux_amd64.deb \
# rm -rf pscale_0.129.0_linux_amd64.deb \
# mkdir -p /home/gitpod/.config/planetscale
# Setup ZSH with Oh-My-Zsh
RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \
-t https://github.com/denysdovhan/spaceship-prompt \
-p git -p ssh-agent -p yarn \
-p https://github.com/zsh-users/zsh-autosuggestions \
-p https://github.com/zsh-users/zsh-completions \
-p https://github.com/zdharma-continuum/fast-syntax-highlighting
ENV SHELL=/usr/bin/zsh