Skip to content

BUILDKIT_SYNTAX should not be flagged as an unrecognized ARG #187

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

Closed
rcjsuen opened this issue May 9, 2025 · 0 comments · Fixed by #197
Closed

BUILDKIT_SYNTAX should not be flagged as an unrecognized ARG #187

rcjsuen opened this issue May 9, 2025 · 0 comments · Fixed by #197
Assignees
Labels

Comments

@rcjsuen
Copy link
Collaborator

rcjsuen commented May 9, 2025

target "foo" {
  tags = ["myapp"]
  args = {
    BUILDKIT_SYNTAX = "docker/dockerfile:1.0"
  }
}

We should be able to fix this by adding BUIDLKIT_SYNTAX to the list.

var builtinArgs = []string{
"HTTP_PROXY",
"HTTPS_PROXY",
"FTP_PROXY",
"ALL_PROXY",
"NO_PROXY",
"BUILDKIT_CACHE_MOUNT_NS",
"BUILDKIT_MULTI_PLATFORM",
"BUILDKIT_SANDBOX_HOSTNAME",
"BUILDKIT_DOCKERFILE_CHECK",
"BUILDKIT_CONTEXT_KEEP_GIT_DIR",
"SOURCE_DATE_EPOCH",
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants