Comments (2)
cc @DYefimov
Looks bit unexpected indeed. It makes more sense with the internal API that is based on include patterns.
In case you would use pivot point COPY --parents a/b/./c/d
then the a/b
part of the code would be validated.
Additional question is what would happen with multiple paths. Or is the validation that if the pattern is not a wildcard then it needs to match.
Unfortunately, it looks like this requires a new LLB option and can't be fixed by just a frontend update.
from buildkit.
Broadly I would expect the same behavior with and without --parents
with respect to what is validated.
from buildkit.
Related Issues (20)
- Buildkit export getting delayed on exporting layers stage HOT 2
- docs: proposal to raise awareness about an unexpected behavior of COPY --link
- [Feature Request] Add --cache-repo option to cache layers
- The heredoc syntax is not being recognized. HOT 8
- dockerfile: improve caching source metadata resolve requests
- Option to disable OpenTelemetry
- Option to disable submodules / recursive clone
- Rename JSONArgsRecommended to ExecArgsRecommended
- Verify linting rules descriptions and links HOT 5
- Buildkit containers should stop running automatically after an image has been successfully built HOT 3
- WCOW: local and tar exporters on Windows failing with error: `"Access is denied."` HOT 1
- rewrite-timestamp with type=docker or type/image HOT 1
- Default to all targets when running build linting checks
- buildx over ssh no longer works with docker compose HOT 4
- Unable to delete a builder with incorrect configuration HOT 1
- `ADD [URL] [DEST]` fails if the source address has same URI and different query string HOT 2
- TestUndeclaredArg fails on arm64
- Refactor cache export interface HOT 2
- Incorrect DNS options with host networking when buildkit is run as docker-container on a host with systemd-resolved HOT 1
- WCOW: local and tar exporter to exclude known non-exportable files/dirs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildkit.