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 support for .dockerignore files #370

Closed
fho opened this issue Oct 10, 2022 · 1 comment
Closed

Add support for .dockerignore files #370

fho opened this issue Oct 10, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@fho
Copy link
Collaborator

fho commented Oct 10, 2022

All baur tasks that we execute are run via Dockerfiles.
This gives the opportunity to limit the files that can be accessed in the docker container to the baur inputs.
Ideas

  • generate .dockerignore file based on the the inputs of an app + a given docker context path
  • generate the baur inputs from a .dockerignore file and a docker context path

Related #141

@fho fho added the enhancement New feature or request label Oct 10, 2022
@fho
Copy link
Collaborator Author

fho commented Nov 8, 2022

.dockerignore are only used when the files from the context are transferred on docker build.
When running tasks via docker run, required files are normally mounted in the container, .dockerignore files have no effect.

This is not sufficient.

@fho fho closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant