Fix issues in Dockerfile: 1. Update Fedora image to the latest version 41, otherwise docker build fails with an error: Step 1/7 : FROM registry.fedoraproject.org/fedora:28 manifest for registry.fedoraproject.org/fedora:28 not found: manifest unknown: manifest unknown 2. Force install python3-yaml package, as it's required for running some tests. For example, tests/test-remote-headers.sh will fail without it: V=$($CMD_PREFIX ostree --version | \ python3 -c 'import sys, yaml; print(yaml.safe_load(sys.stdin)["libostree"]["Version"])') Traceback (most recent call last): File "<string>", line 1, in <module> import sys, yaml; print(yaml.safe_load(sys.stdin)["libostree"]["Version"]) ^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'yaml' With these fixes `make check` executes successfully in a container: ============================================================================ Testsuite summary for libostree 2024.11 ============================================================================ TOTAL: 935 PASS: 888 SKIP: 47 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
This documentation is written in Jekyll format to be published on GitHub Pages. The rendered HTML will be automatically built and published, but you can also use Jekyll locally to test changes.
First you need to install Ruby and
RubyGems to get Jekyll and the other gem
dependencies. This is easiest using the distro's packages. On RedHat
systems this is rubygems
and on Debian systems this is
ruby-rubygems
.
Next Bundler is needed to install the gems using
the provided Gemfile. You can do this by running gem install bundler
or using distro packages. On RedHat systems this is
rubygem-bundler
and on Debian systems this is ruby-bundler
.
Now you can prepare the Jekyll environment. Change to this directory and run:
bundle config set --local path vendor/bundle
bundle install
Finally, run the prep-docs.sh
script and then render and serve the
site locally with Jekyll:
./prep-docs.sh
bundle exec jekyll serve