Skip to content

Commit

Permalink
Merge branch 'main' of github.com:berkeley-dsep-infra/ugr01-user-imag…
Browse files Browse the repository at this point in the history
…e into octave
  • Loading branch information
ryanlovett committed Sep 27, 2024
2 parents 1f47776 + 5deb1dd commit d328468
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-push-image-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
# so all contents put in /home/jovyan are lost. This particularly prevents any 'start' script from
# working, as it is needed in runtime.
REPO_DIR: /srv/repo
APPENDIX_FILE: Dockerfile.appendix

# Lets us monitor disks getting full as images get bigger over time
- name: Show how much disk space is left
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-test-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
FORCE_REPO2DOCKER_VERSION: jupyter-repo2docker==2024.07.0
REPO_DIR: /srv/repo
NO_PUSH: true
APPENDIX_FILE: Dockerfile.appendix

# Lets us monitor disks getting full as images get bigger over time
- name: Show how much disk space is left
Expand Down
11 changes: 11 additions & 0 deletions Dockerfile.appendix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
USER root

# 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
2 changes: 2 additions & 0 deletions postBuild
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

# installing chromium browser to enable webpdf conversion using nbconvert
export PLAYWRIGHT_BROWSERS_PATH=${CONDA_DIR}
playwright install chromium

0 comments on commit d328468

Please sign in to comment.