forked from gbraad-devenv/jupyter-fedora
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
44 lines (41 loc) · 1.02 KB
/
.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
42
43
44
image:
file: /gitpod/Dockerfile
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
- name: jupyter
command: |
pip install ipykernel
ports:
- port: 22
onOpen: ignore
- port: 6080
onOpen: open-preview
vscode:
extensions:
- ms-vscode.Theme-TomorrowKit
- tailscale.vscode-tailscale
- ms-toolsai.jupyter
- ms-python.python