Skip to content

Allow for replacing FROM image in locked down environments#335

Open
viper-cool79 wants to merge 1 commit intoaquasecurity:masterfrom
viper-cool79:feat/add-ability-to-swap-FROM
Open

Allow for replacing FROM image in locked down environments#335
viper-cool79 wants to merge 1 commit intoaquasecurity:masterfrom
viper-cool79:feat/add-ability-to-swap-FROM

Conversation

@viper-cool79
Copy link
Copy Markdown

See #333 for background

The purpose is to do a simple replacement of the word placeholder in the Dockerfile. I have read-through the documentation for the github actions.yaml but it seems that there is no easy way to add a --build-args.

The logic is then to run a preparatory shell script to alter the Dockerfile (can most likely be done in a more fashionable manner) and this is here done via sed.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 12, 2024

CLA assistant check
All committers have signed the CLA.

@viper-cool79 viper-cool79 marked this pull request as ready for review August 6, 2024 13:09
@man1207
Copy link
Copy Markdown

man1207 commented Sep 27, 2024

Hi! Are you going to merge this PR into master?
Possibility to define another image (from cache) is needed.

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.

3 participants