Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
corr Dockerfile & gitpod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfliegner committed May 10, 2024
1 parent 15afacb commit 4100f06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,4 @@ RUN sudo wget https://julialang-s3.julialang.org/bin/linux/x64/1.8/julia-1.8.2-l
&& tar -xvzf julia-1.8.2-linux-x86_64.tar.gz
# Install direnv
RUN sudo apt-get update && sudo apt-get install -y direnv \
&& direnv hook bash >> /home/gitpod/.bashrc
RUN sudo echo 'PATH_add ~/julia-1.8.2/bin' > /workspace/.envrc \
&& echo 'export SEARCHLIGHT_USERNAME="gitpod"' >> /workspace/.envrc \
&& direnv allow /workspace

&& direnv hook bash >> /home/gitpod/.bashrc
3 changes: 3 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
image:
file: .gitpod.Dockerfile
tasks:
- init: echo 'PATH_add ~/julia-1.8.2/bin' > /workspace/.envrc \
&& echo 'export SEARCHLIGHT_USERNAME="gitpod"' >> /workspace/.envrc \
&& direnv allow /workspace
- command: julia -e 'include("init.jl")'
- command: python3 -m http.server 8080 -d docs/build

0 comments on commit 4100f06

Please sign in to comment.