Skip to content

cstrans-df-run: restrict the regex accepting exec form #229

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

Merged
merged 1 commit into from
Jun 30, 2025

Conversation

kdudka
Copy link
Member

@kdudka kdudka commented Jun 27, 2025

... of the RUN instruction. This change causes the following RUN instruction to be recognized as the shell form:

RUN [ "$(sha1sum Dockerfile.cached | cut -d' ' -f1)" = "$(sha1sum Dockerfile | cut -d' ' -f1)" ]

Fixes: https://issues.redhat.com/browse/PSSECAUT-1207

... of the RUN instruction.  This change causes the following RUN
instruction to be recognized as the shell form:
```
RUN [ "$(sha1sum Dockerfile.cached | cut -d' ' -f1)" = "$(sha1sum Dockerfile | cut -d' ' -f1)" ]
```

Fixes: https://issues.redhat.com/browse/PSSECAUT-1207
@kdudka kdudka requested a review from sfowl June 27, 2025 06:41
@kdudka kdudka self-assigned this Jun 27, 2025
Copy link

@sfowl sfowl left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@kdudka kdudka merged commit 49f0451 into csutils:main Jun 30, 2025
36 checks passed
@kdudka kdudka deleted the run-shell-cmd branch June 30, 2025 06:13
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