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

feat: add manpath configuration file to the container #31

Merged
merged 1 commit into from
May 21, 2024

Conversation

kbdharun
Copy link
Member

@kbdharun kbdharun commented May 20, 2024

This PR adds the configuration file for resolving manpages. (I obtained this Debian manpath.config file from Xenia a while ago).

The file is initially included in the includes.container file as man-path.config. Adding it initially would fail the CI i.e. https://github.com/Vanilla-OS/vso-image/actions/runs/8894758773/job/24423680859 (since the CI environment doesn't have access to the system thus failing the man-db step invoked by APT).

As we discussed a while ago, I tested renaming this file in the last step of the recipe and this works perfectly.

Now, all host man pages can be accessed inside the container (as well as man pages for commands installed in a container).

Testing

I tested the change by building and pushing an image in my fork (https://github.com/kbdharun/vso-image/pkgs/container/vso) and then I built VSO modifying line 30 of main.go for my custom stack to work with this image locally.

recipe.yml Show resolved Hide resolved
@kbdharun kbdharun merged commit 194fd70 into Vanilla-OS:main May 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants