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

Add Dockerfile for Arch Linux & use a more complicated WORKDIR #264

Merged
merged 4 commits into from
Feb 8, 2025

Conversation

jnikula
Copy link
Owner

@jnikula jnikula commented Feb 7, 2025

Add Dockerfile for running tests on Arch Linux (it's broken), and change WORKDIR to /path/to/src in all Dockerfiles (breaking Fedora docker testing in the process).

Turns out libclang can't find headers on either Arch Linux or Fedora. And it only worked by accident with our Fedora Docker images, because libclang on Fedora has some relative paths that just worked with /src as the current dir. Seriously. 🤦

With #263 soon coming to the rescue, and fixing all of this (tested), highlight all the breakage.

@jnikula jnikula requested a review from BrunoMSantos February 7, 2025 22:49
libclang on Fedora includes a relative header search path, which works
by accident when we're using /src for testing. Break it.
Separate finding all the distros we have Dockerfiles for from generating
the targets for auto-completion. We'll be needing the distro list later.
Make it easier to run everything across all the distros we have
Dockerfiles for.
@jnikula jnikula merged commit 9d5f3df into master Feb 8, 2025
6 checks passed
@jnikula jnikula deleted the docker-arch branch February 8, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant