-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.gitpod.yml
41 lines (37 loc) · 965 Bytes
/
.gitpod.yml
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
34
35
36
37
38
39
40
41
image:
file: /gitpod/Dockerfile
experimentalNetwork: true
tasks:
- init: >
./gitpod/install.sh
- name: dotfiles
command: |
if [ ! -d "~/.dotfiles" ]; then
cd /tmp
curl -sSL https://raw.githubusercontent.com/gbraad/dotfiles/master/install.sh -o /tmp/install.sh &&
rm -f ~/.zshrc &&
sh /tmp/install.sh
fi
mv ~/.bashrc-nochsh ~/.bashrc
- name: github
command: |
gh auth login -h github.com -w
- name: docker
command: |
sudo dnf install -y docker
- name: sshd
command: |
sudo ssh-keygen -A && sudo /usr/sbin/sshd
curl https://github.com/gbraad.keys | tee -a ~/.ssh/authorized_keys
- name: tailscale
command: |
sudo --preserve-env=TAILSCALE_AUTHKEY /etc/init.d/tailscaled start
ports:
- port: 22
onOpen: ignore
- port: 6080
onOpen: open-preview
vscode:
extensions:
- ms-vscode.Theme-TomorrowKit
- tailscale.vscode-tailscale