Skip to content
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

Move away from $OFRAK_DIR argument to $PACKAGE_PATH for Docker builds #425

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

whyitfor
Copy link
Contributor

@whyitfor whyitfor commented Feb 18, 2024

One sentence summary of this PR (This should go in the CHANGELOG!)

  • $PACKAGE_PATH generalizes build_image.py such that it works with any yaml file containing a valid list of Python packages

Before this change, it was possible to use build_image.py a directory above the OFRAK repository by passing in an OFRAK_DIR arugment in the yml file. This change generalizes the approach so that build_image.py can be run in any ancestor directory; it also removes the need to pass in an OFRAK_DIR argument.

Link to Related Issue(s)
N/A.

Please describe the changes in your request.
See above.

Anyone you think should look at this, specifically?
@rbs-jacob

@whyitfor whyitfor changed the title Move away from "$OFRAK_DIR" argument to $PACKAGE_PATH for Docker builds Move away from $OFRAK_DIR argument to $PACKAGE_PATH for Docker builds Feb 18, 2024
Copy link
Member

@rbs-jacob rbs-jacob left a comment

Choose a reason for hiding this comment

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

Haven't run it myself to test, but after a quick pass, this seems like a positive improvement that makes sense.

- $PACKAGE_PATH generalizes build_image.py such that it works with any
yaml file containing a valid list of Python packages

Before this change, it was possible to use build_image.py a directory above
the OFRAK repository by passing in an OFRAK_DIR arugment in the yml file.
This change generalizes the approach so that build_image.py can be run in any ancestor directory.
@whyitfor whyitfor merged commit b925af7 into master Feb 23, 2024
5 checks passed
ANogin pushed a commit to ANogin/ofrak that referenced this pull request May 30, 2024
…ds (redballoonsecurity#425)

- $PACKAGE_PATH generalizes build_image.py such that it works with any
yaml file containing a valid list of Python packages

Before this change, it was possible to use build_image.py a directory above
the OFRAK repository by passing in an OFRAK_DIR arugment in the yml file.
This change generalizes the approach so that build_image.py can be run in any ancestor directory.
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