Skip to content

fix: remove source from image and guide and assert through volume mounting#302

Merged
rlmestre merged 1 commit into
mainfrom
fix/image-volume-scan
Aug 18, 2025
Merged

fix: remove source from image and guide and assert through volume mounting#302
rlmestre merged 1 commit into
mainfrom
fix/image-volume-scan

Conversation

@rlmestre
Copy link
Copy Markdown
Contributor

No description provided.

@rlmestre rlmestre requested a review from Copilot August 14, 2025 20:18
@rlmestre rlmestre requested a review from a team as a code owner August 14, 2025 20:18
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modifies the Docker image configuration to remove source code from the image and instead require volume mounting for scanning. The changes introduce a validation mechanism to ensure proper volume mounting and add CI/CD support for publishing container images.

Key changes:

  • Replaced direct source copying with a mount validation script
  • Added GitHub Actions workflow for automated image publishing
  • Updated documentation with Docker usage instructions

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
ci/image.Dockerfile Removes source copying and adds custom entrypoint script
ci/docker-entrypoint.sh New validation script that ensures volume mounting before scanning
README.md Adds Docker usage documentation and removes empty line
.github/workflows/ci.yml Adds automated image publishing workflow

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread ci/docker-entrypoint.sh Outdated
Comment thread ci/docker-entrypoint.sh
Comment thread README.md
@rlmestre rlmestre force-pushed the fix/image-volume-scan branch 5 times, most recently from 6930e0f to 22df333 Compare August 15, 2025 14:54
Comment thread ci/docker-entrypoint.sh
@rlmestre rlmestre force-pushed the fix/image-volume-scan branch from 22df333 to 972e45c Compare August 15, 2025 16:05
@rlmestre rlmestre force-pushed the fix/image-volume-scan branch from 972e45c to b432075 Compare August 18, 2025 20:50
@rlmestre rlmestre merged commit 2c9dfdc into main Aug 18, 2025
23 of 24 checks passed
@rlmestre rlmestre deleted the fix/image-volume-scan branch August 18, 2025 21:20
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.

5 participants