Skip to content

Add devcontainer for building and testing - #444

Open
tbugfinder wants to merge 1 commit into
WizardMac:devfrom
tbugfinder:feature/devcontainer
Open

tbugfinder wants to merge 1 commit into
WizardMac:devfrom
tbugfinder:feature/devcontainer

Conversation

@tbugfinder

Copy link
Copy Markdown

A devcontainer setup simplifies developer experience.

Debian bookworm image with the autotools/gcc/clang toolchain used by the Linux CI job, plus a Python venv with pandas/pyarrow for generating and comparing reference test data.

Debian bookworm image with the autotools/gcc/clang toolchain used by the
Linux CI job, plus a Python venv with pandas/pyarrow for generating and
comparing reference test data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hpoettker

hpoettker commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

As you're proposing a Microsoft sourced base image in the Dockerfile, I assume you're working on Windows.

Just out of curiosity: Are you facing an issue with the current Visual Studio setup or the autotools setup in WSL? Or is working with devcontainers a personal preference?

@tbugfinder

Copy link
Copy Markdown
Author

I'm working in a Linux environment, I don't have access to Windows Visual Studio and such.
The Microsoft sourced base image just is prepared for the devcontainer setup.

Well, maybe indeed I prefer working with devcontainers as those provide a consistent developer experience and do not pollute my primary OS environment while working on different projects.
So it's rather a matter of project isolation.

@hpoettker

hpoettker commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

As validated by CI, Readstat currently compiles and tests successfully on various configurations of Windows, Linux, and Mac.

And that's I think very much the goal: It works for everyone and not just on an isolated Docker image.

@tbugfinder

Copy link
Copy Markdown
Author

Devcontainers provide reproducible and consistent development environments and also enable ReadStat for online development using codespaces. Certainly the intention is not to mirror any build target OS.

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.

2 participants