Conversation
There was a problem hiding this comment.
Pull request overview
This pull request adds Docker containerization support for the iccDEV project, introducing two Dockerfiles to build and distribute iccDEV tools and libraries as container images. This aligns with issue #596 to create packages for the GitHub Container Registry.
Changes:
- Added multi-stage Dockerfile for Ubuntu-based builds with ASAN/UBSAN instrumentation
- Added Dockerfile.nixos for NixOS-based builds with wxWidgets support
- Configured containers with pre-built iccDEV tools and libraries accessible via PATH
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 13 comments.
| File | Description |
|---|---|
| Dockerfile | Multi-stage Ubuntu 26.04 build with Clang-18, ASAN, UBSAN, and automated test execution |
| Dockerfile.nixos | NixOS-based single-stage build using nix-shell with full dependency management |
d2a66d1 to
adb5486
Compare
Status of Outputs2026-02-13 03:18:19 UTC Build & Output to Packages https://github.com/InternationalColorConsortium/iccDEV/actions/runs/21973250681/attempts/1 Need to consider Tags etc. |
| /workspace/iccDEV/Build/Tools/IccTiffDump:\ | ||
| /workspace/iccDEV/Build/Tools/IccToXml:\ | ||
| /workspace/iccDEV/Build/Tools/IccV5DspObsToV4Dsp:\ | ||
| /workspace/iccDEV/Build/Tools/wxProfileDump:\ |
There was a problem hiding this comment.
The PATH includes "/workspace/iccDEV/Build/Tools/wxProfileDump" but the actual executable built from this directory is named "iccDumpProfileGui" (as defined in Build/Cmake/Tools/wxProfileDump/CMakeLists.txt line 28). This PATH entry should point to the correct directory where iccDumpProfileGui is built, which is likely Build/Tools/wxProfileDump, but the tool name shown in the welcome message (line 99) is correct.
Dockerfile
Outdated
| && useradd -r -g iccdev -d /opt/iccdev -s /bin/bash iccdev \ | ||
| && chown -R iccdev:iccdev /opt/iccdev | ||
|
|
||
| ENV PATH="/opt/iccdev/Build/Tools/IccToXml:/opt/iccdev/Build/Tools/IccFromXml:/opt/iccdev/Build/Tools/IccDumpProfile:/opt/iccdev/Build/Tools/IccApplyNamedCmm:/opt/iccdev/Build/Tools/IccRoundTrip:/opt/iccdev/Build/Tools/IccFromCube:/opt/iccdev/Build/Tools/IccApplyProfiles:/opt/iccdev/Build/Tools/IccApplySearch:/opt/iccdev/Build/Tools/IccApplyToLink:/opt/iccdev/Build/Tools/IccPngDump:/opt/iccdev/Build/Tools/IccSpecSepToTiff:/opt/iccdev/Build/Tools/IccTiffDump:/opt/iccdev/Build/Tools/IccV5DspObsToV4Dsp:${PATH}" |
There was a problem hiding this comment.
The PATH environment variable is missing the IccJpegDump tool directory. According to Build/Cmake/CMakeLists.txt line 1093-1094, IccJpegDump is built and should be included. Add "/opt/iccdev/Build/Tools/IccJpegDump" to the PATH to make the iccJpegDump executable available.
| ENV PATH="/opt/iccdev/Build/Tools/IccToXml:/opt/iccdev/Build/Tools/IccFromXml:/opt/iccdev/Build/Tools/IccDumpProfile:/opt/iccdev/Build/Tools/IccApplyNamedCmm:/opt/iccdev/Build/Tools/IccRoundTrip:/opt/iccdev/Build/Tools/IccFromCube:/opt/iccdev/Build/Tools/IccApplyProfiles:/opt/iccdev/Build/Tools/IccApplySearch:/opt/iccdev/Build/Tools/IccApplyToLink:/opt/iccdev/Build/Tools/IccPngDump:/opt/iccdev/Build/Tools/IccSpecSepToTiff:/opt/iccdev/Build/Tools/IccTiffDump:/opt/iccdev/Build/Tools/IccV5DspObsToV4Dsp:${PATH}" | |
| ENV PATH="/opt/iccdev/Build/Tools/IccToXml:/opt/iccdev/Build/Tools/IccFromXml:/opt/iccdev/Build/Tools/IccDumpProfile:/opt/iccdev/Build/Tools/IccApplyNamedCmm:/opt/iccdev/Build/Tools/IccRoundTrip:/opt/iccdev/Build/Tools/IccFromCube:/opt/iccdev/Build/Tools/IccApplyProfiles:/opt/iccdev/Build/Tools/IccApplySearch:/opt/iccdev/Build/Tools/IccApplyToLink:/opt/iccdev/Build/Tools/IccPngDump:/opt/iccdev/Build/Tools/IccJpegDump:/opt/iccdev/Build/Tools/IccSpecSepToTiff:/opt/iccdev/Build/Tools/IccTiffDump:/opt/iccdev/Build/Tools/IccV5DspObsToV4Dsp:${PATH}" |
|
This the result of a Copilot Suggestion: Invalid workflow file: .github/workflows/ci-docker-latest.yml#L1 |
Maintainer Review2026-02-18 02:01:58 UTC TODO
|
Maintainer Notes2026-02-18 02:46:56 UTC Docker ReviewsTo Approve a Code Review for Docker Container and related Workflows please validate:
|
Post Merge Summary2026-02-18 03:11:57 UTC
|
Pull Request Checklist
#596