generated from berkeley-dsep-infra/hub-user-image-template
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c8a4f4
commit eee6098
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
# installing chromium browser to enable webpdf conversion using nbconvert | ||
export PLAYWRIGHT_BROWSERS_PATH=${CONDA_DIR} | ||
playwright install chromium | ||
|
||
# As requested in slack. | ||
# http://www.dcc.fc.up.pt/gtries/ | ||
# https://github.com/ComplexNetworks-DCC-FCUP/gtrieScanner | ||
cd /tmp | ||
wget https://www.dcc.fc.up.pt/gtries/gtrieScanner_src_01.zip | ||
unzip gtrieScanner_src_01.zip | ||
cd gtrieScanner_src_01 | ||
make | ||
# CONDA_DIR is writable by our UID in postBuild. Ideally this would be | ||
# in /usr/local/bin/. | ||
install -m 0755 gtrieScanner ${CONDA_DIR}/bin/ |