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

Commit

Permalink
try workspace build
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfliegner committed May 7, 2024
1 parent 8d4badc commit b89d1ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ RUN sudo wget https://julialang-s3.julialang.org/bin/linux/x64/1.8/julia-1.8.2-l
# Install direnv
RUN sudo apt-get update && sudo apt-get install -y direnv \
&& direnv hook bash >> /home/gitpod/.bashrc \
&& mkdir -p .config/direnv \
&& echo '[whitelist]' > .config/direnv/config.toml \
&& echo 'prefix = [ "/workspace", "/home/gitpod"]' >> .config/direnv/config.toml \
&& echo 'PATH_add /home/gitpod/julia-1.8.2/bin' > /home/gitpod/.envrc \
&& echo 'export SEARCHLIGHT_USERNAME="gitpod"' >> /home/gitpod/.envrc
&& mkdir -p .config/direnv
# && echo '[whitelist]' > .config/direnv/config.toml \
# && echo 'prefix = [ "/workspace", "/home/gitpod"]' >> .config/direnv/config.toml \
# && echo 'PATH_add /home/gitpod/julia-1.8.2/bin' > /home/gitpod/.envrc \
# && echo 'export SEARCHLIGHT_USERNAME="gitpod"' >> /home/gitpod/.envrc

6 changes: 4 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ image:
file: .gitpod.Dockerfile
tasks:
- init:
cd .. &&
echo 'PATH_add ~/julia-1.8.0/bin' > .envrc \
echo '[whitelist]' > .config/direnv/config.toml \
&& echo 'prefix = [ "/workspace", "/home/gitpod"]' >> .config/direnv/config.toml \
&& cd .. \
&& echo 'PATH_add ~/julia-1.8.2/bin' > .envrc \
&& echo 'export SEARCHLIGHT_USERNAME="gitpod"' >> .envrc \
&& direnv allow /workspace
- command: python3 -m http.server 8080 -d docs/build
Expand Down

0 comments on commit b89d1ca

Please sign in to comment.