@@ -14,6 +14,30 @@ variable "BUILDKITD_TAGS" {
1414 default = null
1515}
1616
17+ variable "HTTP_PROXY" {
18+ default = null
19+ }
20+
21+ variable "HTTPS_PROXY" {
22+ default = null
23+ }
24+
25+ variable "NO_PROXY" {
26+ default = null
27+ }
28+
29+ variable "GOBUILDFLAGS" {
30+ default = null
31+ }
32+
33+ variable "VERIFYFLAGS" {
34+ default = null
35+ }
36+
37+ variable "CGO_ENABLED" {
38+ default = null
39+ }
40+
1741# Defines the output folder
1842variable "DESTDIR" {
1943 default = " "
@@ -28,6 +52,13 @@ target "_common" {
2852 ALPINE_VERSION = ALPINE_VERSION
2953 GO_VERSION = GO_VERSION
3054 NODE_VERSION = NODE_VERSION
55+ BUILDKITD_TAGS = BUILDKITD_TAGS
56+ HTTP_PROXY = HTTP_PROXY
57+ HTTPS_PROXY = HTTPS_PROXY
58+ NO_PROXY = NO_PROXY
59+ GOBUILDFLAGS = GOBUILDFLAGS
60+ VERIFYFLAGS = VERIFYFLAGS
61+ CGO_ENABLED = CGO_ENABLED
3162 BUILDKIT_CONTEXT_KEEP_GIT_DIR = 1
3263 }
3364}
@@ -39,9 +70,6 @@ group "default" {
3970target "binaries" {
4071 inherits = [" _common" ]
4172 target = " binaries"
42- args = {
43- BUILDKITD_TAGS = BUILDKITD_TAGS
44- }
4573 output = [bindir (" build" )]
4674}
4775
@@ -74,6 +102,11 @@ target "integration-tests-base" {
74102 output = [" type=cacheonly" ]
75103}
76104
105+ target "integration-tests" {
106+ inherits = [" integration-tests-base" ]
107+ target = " integration-tests"
108+ }
109+
77110group "validate" {
78111 targets = [" lint" , " validate-vendor" , " validate-doctoc" , " validate-generated-files" , " validate-shfmt" , " validate-docs" ]
79112}
0 commit comments