Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
IMAGE_NAME: "cryointhecloud/cryo-hub-image"
# Put repo contents in /srv/repo, so they aren't mangled when we put user home in /home/jovyan
REPO_DIR: /srv/repo
# Fix man pages that are disabled by Ubuntu 18 minimal base image
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Fix man pages that are disabled by Ubuntu 18 minimal base image

This comment is probably redundant. Commit this suggestion if you agree :)

APPENDIX_FILE: "appendix"

# Lets us monitor disks getting full as images get bigger over time
- name: Show how much disk space is left
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ described above, you can skip the first line):

```
conda-lock lock --mamba --kind explicit --file environment.yml --platform linux-64
repo2docker .
repo2docker --apendix "$(cat appendix)" .
```

This build may take up to 30 minutes.
Expand Down
13 changes: 13 additions & 0 deletions appendix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Re-enable man pages disabled in Ubuntu 18 minimal image
# https://wiki.ubuntu.com/Minimal
USER root
RUN yes | unminimize
# NOTE: $NB_PYTHON_PREFIX is the same as $CONDA_PREFIX at run-time.
# $CONDA_PREFIX isn't available in this context.
# NOTE: Prepending ensures a working path; if $MANPATH was previously empty,
# the trailing colon ensures that system paths are searched.
ENV MANPATH="${NB_PYTHON_PREFIX}/share/man:${MANPATH}"
RUN mandb

# Revert to default user
USER ${NB_USER}