File tree Expand file tree Collapse file tree 5 files changed +63
-0
lines changed Expand file tree Collapse file tree 5 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ # Adapted from Dockerfile for `leanprovercommunity/mathlib:gitpod`.
2+
3+ FROM ubuntu:jammy
4+
5+ USER root
6+
7+ RUN apt-get update && apt-get install sudo git curl git bash-completion python3 python3-pip racket default-jdk default-jre -y && apt-get clean
8+
9+ RUN raco pkg install --auto forge froglet
10+
11+ RUN useradd -l -u 33333 -G sudo -md /home/gitpod -s /bin/bash -p gitpod gitpod \
12+ # passwordless sudo for users in the 'sudo' group
13+ && sed -i.bkp -e 's/%sudo\s\+ ALL=(ALL\( :ALL\)\? )\s\+ ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers
14+ USER gitpod
15+ WORKDIR /home/gitpod
16+
17+ SHELL ["/bin/bash" , "-c" ]
18+
19+ # gitpod bash prompt
20+ RUN { echo && echo "PS1='\[\0 33[01;32m\]\u\[\0 33[00m\] \[\0 33[01;34m\]\w\[\0 33[00m\]\$ (__git_ps1 \" (%s)\" ) $ '" ; } >> .bashrc
21+
22+ # fix the infoview when the container is used on gitpod:
23+ ENV VSCODE_API_VERSION="1.50.0"
24+
25+ # ssh to github once to bypass the unknown fingerprint warning
26+ RUN ssh -o StrictHostKeyChecking=no github.com || true
27+
28+ # run sudo once to suppress usage info
29+ RUN sudo echo finished
Original file line number Diff line number Diff line change 1+ /build
Original file line number Diff line number Diff line change 1+ image :
2+ file : .docker/gitpod/Dockerfile
3+
Original file line number Diff line number Diff line change 1+ {
2+ "editor.minimap.enabled" : false ,
3+ "editor.insertSpaces" : true ,
4+ "editor.tabSize" : 2 ,
5+ "editor.semanticTokenColorCustomizations" : {
6+ "[Gitpod Light]" : {"rules" : {"other" : " #335f66" , "variable" : " #7f197f" }}
7+ }
8+ }
Original file line number Diff line number Diff line change 1+ # PBT GitPod
2+
3+ ## Setup
4+
5+ 0 . Sign up for a GitHub account
6+ 1 . Go to < https://gitpod.io/#https://github.com/utahplt/forge-gitpod >
7+ * Log in with GitHub
8+ 2 . Wait for VSCode to appear
9+ 3 . Go to < https://gitpod.io > , find the new workspace, click the ` ... ` on the
10+ right, and pin this workspace.
11+ * If you don't pin it, GitPod may throw it away after N days!!
12+
13+ ## Usage
14+
15+ Write code in VSCode like normal.
16+
17+ Run code from the terminal:
18+
19+ ```
20+ racket FILE.frg
21+ ```
22+
You can’t perform that action at this time.
0 commit comments