1
0
mirror of https://github.com/projectatomic/rpm-ostree.git synced 2026-02-05 09:45:27 +01:00
Files
rpm-ostree/.dockerignore
Colin Walters 29222a1a0f Add build+test infra mirroring bootc
This introduces a Justfile and Dockerfile to enable building rpm-ostree
from source in a container, following the pattern established in the
bootc project.

See the `Justfile` for key entrypoints. Those are now used
in a new GHA flow, which we'll try to move things over to.

A key difference though vs bootc is because rpm-ostree has a lot
of C++ too we use sccache which greatly speeds things up across
incremental rebuilds.

Just one side cleanup of this is before it was *terribly*
painful and manual to hack on `test-container.sh`, and now it's easy,
fast and optimized.

Assisted-by: Claude Code (Sonnet 4.5)
Signed-off-by: Colin Walters <walters@verbum.org>
2025-11-03 13:42:14 -05:00

55 lines
826 B
Plaintext

# Exclude everything by default, then include just what we need
# Especially note this means that .git is not included, and not tests/
# to avoid spurious rebuilds.
*
# Autotools build files
!Makefile*.am
!Makefile-*.am
!Makefile*.inc
!Makefile.bindings
!configure.ac
!autogen.sh
# Generated C++/Rust bridge files (checked into git)
!rpmostree-cxxrs.h
!rpmostree-cxxrs.cxx
!rpmostree-cxxrsutil.hpp
# Build configuration
!buildutil/
!build-aux/
!m4/
# Source code
!src/
!rust/
# Rust build files
!Cargo.toml
!Cargo.lock
!build.rs
!.cargo/
# Git submodules (needed by autogen.sh)
!libglnx/
!libdnf/
# Build system integration
!packaging/
!ci/
!.copr/
# Test data for integration tests
!tests/
# Documentation (for man pages, etc.)
!docs/
!man/
# Shell completion
!completion/
# API documentation generation
!api-doc/