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

Docker image build fail with certain .dockerignore configuration #604

Closed
HofmeisterAn opened this issue Oct 6, 2022 · 0 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@HofmeisterAn
Copy link
Collaborator

Describe the bug
A .dockerignore entry that ends with / may deny all files. The Tarball will be empty and the Docker image build will fail.

To Reproduce

  1. Create .dockerignore that contains e.g. bin/.
  2. Build a Docker image with ImageFromDockerfileBuilder.

Expected behavior
The docker image build is successful.

Screenshots
-

Desktop (please complete the following information):

  • 2.0.1

Additional context
-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant