generated from berkeley-dsep-infra/hub-user-image-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move gtrieScanner from postBuild to appendix.
This writes out a binary to /usr/local/bin/. I think this is better than putting it in a conda path since it isn't a conda executable. The appendix is necessary since it can run as root.
- Loading branch information
1 parent
400e4fa
commit ddf4dbc
Showing
2 changed files
with
10 additions
and
13 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,2 +1,11 @@ | ||
USER root | ||
RUN ls -ld /usr/local/bin/ | ||
|
||
# As requested in slack. | ||
# http://www.dcc.fc.up.pt/gtries/ | ||
# https://github.com/ComplexNetworks-DCC-FCUP/gtrieScanner | ||
RUN wget -O /tmp/gtrieScanner.zip https://www.dcc.fc.up.pt/gtries/gtrieScanner_src_01.zip && \ | ||
unzip -d /tmp /tmp/gtrieScanner.zip && \ | ||
make -C /tmp/gtrieScanner_src_01 && \ | ||
install -o root -g root -m 0755 /tmp/gtrieScanner_src_01/gtrieScanner /usr/local/bin/ | ||
|
||
USER $NB_USER |
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