Skip to content

Commit b772c31

Browse files
authored
Merge pull request #6184 from crazy-max/v0.24_picks_0.24.0
[v0.24] cherry-picks for v0.24.0
2 parents 88fe558 + 6aa63e4 commit b772c31

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

frontend/dockerfile/builder/caps.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ import (
1010
)
1111

1212
var enabledCaps = map[string]struct{}{
13-
"moby.buildkit.frontend.inputs": {},
14-
"moby.buildkit.frontend.subrequests": {},
15-
"moby.buildkit.frontend.contexts": {},
13+
"moby.buildkit.frontend.inputs": {},
14+
"moby.buildkit.frontend.subrequests": {},
15+
"moby.buildkit.frontend.contexts": {},
16+
"moby.buildkit.frontend.gitquerystring": {},
1617
}
1718

1819
func validateCaps(req string) (forward bool, err error) {

frontend/dockerfile/cmd/dockerfile-frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN --mount=target=. --mount=type=cache,target=/root/.cache \
3333

3434
FROM scratch AS release
3535
LABEL moby.buildkit.frontend.network.none="true"
36-
LABEL moby.buildkit.frontend.caps="moby.buildkit.frontend.inputs,moby.buildkit.frontend.subrequests,moby.buildkit.frontend.contexts"
36+
LABEL moby.buildkit.frontend.caps="moby.buildkit.frontend.inputs,moby.buildkit.frontend.subrequests,moby.buildkit.frontend.contexts,moby.buildkit.frontend.gitquerystring"
3737
COPY --from=build /dockerfile-frontend /bin/dockerfile-frontend
3838
ENTRYPOINT ["/bin/dockerfile-frontend"]
3939

0 commit comments

Comments
 (0)