zalando / restful-api-guidelines

A model set of guidelines for RESTful APIs and Events, created by Zalando
https://opensource.zalando.com/restful-api-guidelines/
Creative Commons Attribution 4.0 International
2.61k stars 384 forks source link

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

Closed tkrop closed 4 months ago

tkrop commented 5 months ago

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.

ePaul commented 5 months ago

Works on my Ubuntu, thanks.

ePaul commented 5 months ago

:+1:

tkrop commented 4 months ago

👍