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

fix: asciidoc build to run as user (#802) #802

Merged
merged 1 commit into from
Apr 16, 2024
Merged

fix: asciidoc build to run as user (#802) #802

merged 1 commit into from
Apr 16, 2024

Conversation

tkrop
Copy link
Member

@tkrop tkrop commented Mar 21, 2024

This pull request fixes the issue that asciidoctor output (i.e. the produced index.html) is owned by root through running the docker container using root permissions (which some browsers running in a snap refuse to open).

The pull request changes this to run asciidoctor with user permissions.

In addition, it allows running with podman instead of docker if no docker is installed.

@tkrop tkrop added the bug label Mar 21, 2024
@tkrop tkrop self-assigned this Mar 21, 2024
@tkrop tkrop requested review from kanistha and leviferreira and removed request for leviferreira and kanistha March 21, 2024 11:45
@ePaul
Copy link
Member

ePaul commented Mar 21, 2024

Works on my Ubuntu, thanks.

@ePaul
Copy link
Member

ePaul commented Mar 21, 2024

👍

1 similar comment
@tkrop
Copy link
Member Author

tkrop commented Apr 16, 2024

👍

@ePaul ePaul merged commit cc8d31d into main Apr 16, 2024
2 checks passed
@ePaul ePaul deleted the asciidoc-build branch April 16, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants