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

Add Build.mk variable for listing files to be copied into the workdir volume #17

Open
C0deH4cker opened this issue Aug 22, 2022 · 0 comments
Assignees
Milestone

Comments

@C0deH4cker
Copy link
Owner

Currently, a flag.txt file will be automatically detected and copied into the workdir volume. Also, if a project directory contains a workdir/ folder, its contents will be automatically copied into the workdir volume. It would be nice to have a Build.mk variable (perhaps WORKDIR_FILES?) that lists paths of files that should be copied into the workdir volume when it's created. This would allow copying files that are generated by build rules to the workdir volume. An example of how this could be useful is if a file required for the challenge to run that is created by some build rule is considered a secret. Therefore, the challenge author might wish to share the Docker image for the challenge without also revealing that secret generated file. One way to achieve this today would be to make the rule generate this file directly into the workdir/ folder in the project directory, but that's messy and requires .gitignore/.dockerignore shenanigans.

@C0deH4cker C0deH4cker self-assigned this Aug 22, 2022
@C0deH4cker C0deH4cker added this to the v2.2 milestone Oct 21, 2024
@C0deH4cker C0deH4cker modified the milestones: v2.2, v2.3 Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant