File tree Expand file tree Collapse file tree 5 files changed +70
-200
lines changed Expand file tree Collapse file tree 5 files changed +70
-200
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,10 @@ src/github.com/docker/scan-cli-plugin:
54
54
git init $@
55
55
git -C $@ remote add origin " $( DOCKER_SCAN_REPO) "
56
56
57
+ src/github.com/tonistiigi/xx :
58
+ $(call title,Init $(XX_REPO ) )
59
+ git init $@
60
+ git -C $@ remote add origin " $( XX_REPO) "
57
61
58
62
.PHONY : checkout-cli
59
63
checkout-cli : src/github.com/docker/cli
@@ -83,6 +87,11 @@ checkout-scan-cli-plugin: src/github.com/docker/scan-cli-plugin
83
87
.PHONY : checkout
84
88
checkout : checkout-cli checkout-docker checkout-buildx checkout-compose checkout-scan-cli-plugin # # checkout source at the given reference(s)
85
89
90
+ .PHONY : checkout-xx
91
+ checkout-xx : src/github.com/tonistiigi/xx
92
+ $(call title,Checkout $(XX_REPO ) #$(XX_REF ) )
93
+ ./scripts/checkout.sh src/github.com/tonistiigi/xx " $( XX_REF) "
94
+
86
95
.PHONY : clean
87
96
clean : clean-src # # remove build artifacts
88
97
$(MAKE ) -C rpm clean
@@ -101,9 +110,8 @@ centos-% fedora-% rhel-%: checkout ## build rpm packages for the specified distr
101
110
debian-% raspbian-% ubuntu-% : checkout # # build deb packages for the specified distro
102
111
$(MAKE ) -C deb $@
103
112
104
-
105
113
.PHONY : static
106
- static : checkout # # build static package
114
+ static : checkout checkout-xx # # build static package
107
115
$(MAKE ) -C static build
108
116
109
117
.PHONY : verify
Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ DOCKER_SCAN_REF ?= v0.17.0
43
43
DOCKER_COMPOSE_REF ?= v2.6.1
44
44
DOCKER_BUILDX_REF ?= v0.8.2
45
45
46
+ # XX is used as cross-compilation helper for static bundles
47
+ XX_REPO ?= https://github.com/tonistiigi/xx.git
48
+ XX_REF ?= v1.1.1
49
+
46
50
# Use "stage" to install dependencies from download-stage.docker.com during the
47
51
# verify step. Leave empty or use any other value to install from download.docker.com
48
52
VERIFY_PACKAGE_REPO ?= staging
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ ENGINE_DIR=$(realpath $(CURDIR)/../src/github.com/docker/docker)
5
5
BUILDX_DIR =$(realpath $(CURDIR ) /../src/github.com/docker/buildx)
6
6
COMPOSE_DIR =$(realpath $(CURDIR ) /../src/github.com/docker/compose)
7
7
SCAN_DIR =$(realpath $(CURDIR ) /../src/github.com/docker/scan-cli-plugin)
8
+ XX_DIR =$(realpath $(CURDIR ) /../src/github.com/tonistiigi/xx)
8
9
9
10
STATIC_VERSION =$(shell ./gen-static-ver $(CLI_DIR ) $(VERSION ) )
10
11
HASH_CMD =docker run -v $(CURDIR ) :/sum -w /sum debian:jessie bash hash_files
@@ -15,6 +16,7 @@ export ENGINE_DIR
15
16
export BUILDX_DIR
16
17
export COMPOSE_DIR
17
18
export SCAN_DIR
19
+ export XX_DIR
18
20
19
21
export STATIC_VERSION
20
22
You can’t perform that action at this time.
0 commit comments