Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore man pages #65

Merged
merged 2 commits into from
May 22, 2023
Merged

Restore man pages #65

merged 2 commits into from
May 22, 2023

Conversation

MattF-NSIDC
Copy link

@MattF-NSIDC MattF-NSIDC commented May 19, 2023

The appendix file method was the only way I could find to successfully unminimize the minimal image and bring back man pages.

EDIT: This brings total image size to 11.3 GB from 8.16GB. unminimize is probably bringing back more than man pages. Maybe there is a way we can restore man pages without using the full unminimize script?

Resolves #63

@github-actions
Copy link

Binder 👈 Test this PR on Binder

@@ -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 :)

@tsnow03 tsnow03 merged commit 6d24b89 into CryoInTheCloud:main May 22, 2023
@yuvipanda
Copy link
Contributor

Just saw the message about image size, @MattF-NSIDC. I think additional 3GB could add 30s, maybe a minute to image pull performance. Unless man pages are being explicitly taught in the workshop, I would recommend against using unminimize.

@MattF-NSIDC
Copy link
Author

MattF-NSIDC commented May 22, 2023

We have been planning to teach man pages in the workshop. Does the image need to be pulled for every new node-share or only when a new node is being provisioned? Do you know of a less inflationary approach than unminimize to restoring the man pages? I think there's a way, I just haven't had time to dig for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

man pages not available
4 participants