1313# limitations under the License.
1414#
1515
16+ docker : SHELL:=/bin/bash
1617docker : ubuntu18.04 ubuntu16.04 debian10 debian9 centos7 amazonlinux1 amazonlinux2 opensuse-leap15.1
1718
18- ubuntu% : SHELL:=/bin/bash
19+ ubuntu% : ARCH := amd64
1920ubuntu% :
2021 $(DOCKER ) build --build-arg VERSION_ID=$* \
2122 --build-arg WITH_LIBELF=$(WITH_LIBELF) \
@@ -27,7 +28,7 @@ ubuntu%:
2728 $(DOCKER ) cp $$(cat $@ .cid ) :/mnt/. $(DIST_DIR ) /ubuntu$* /$(ARCH )
2829 $(DOCKER ) rm $$(cat $@ .cid ) && rm $@ .cid
2930
30- debian% : SHELL:=/bin/bash
31+ debian% : ARCH := amd64
3132debian% :
3233 $(DOCKER ) build --build-arg VERSION_ID=$* \
3334 --build-arg WITH_LIBELF=$(WITH_LIBELF) \
@@ -39,7 +40,7 @@ debian%:
3940 $(DOCKER ) cp $$(cat $@ .cid ) :/mnt/. $(DIST_DIR ) /debian$* /$(ARCH )
4041 $(DOCKER ) rm $$(cat $@ .cid ) && rm $@ .cid
4142
42- centos% : SHELL:=/bin/bash
43+ centos% : ARCH := x86_64
4344centos% :
4445 $(DOCKER ) build --build-arg VERSION_ID=$* \
4546 --build-arg WITH_LIBELF=$(WITH_LIBELF) \
@@ -51,7 +52,7 @@ centos%:
5152 $(DOCKER ) cp $$(cat $@ .cid ) :/mnt/. $(DIST_DIR ) /centos$* /$(ARCH )
5253 $(DOCKER ) rm $$(cat $@ .cid ) && rm $@ .cid
5354
54- amazonlinux% : SHELL:=/bin/bash
55+ amazonlinux% : ARCH := x86_64
5556amazonlinux% :
5657 $(DOCKER ) build --build-arg VERSION_ID=$* \
5758 --build-arg WITH_LIBELF=$(WITH_LIBELF) \
@@ -64,7 +65,7 @@ amazonlinux%:
6465 $(DOCKER ) rm $$(cat $@ .cid ) && rm $@ .cid
6566
6667
67- opensuse-leap% : SHELL:=/bin/bash
68+ opensuse-leap% : ARCH := x86_64
6869opensuse-leap% :
6970 $(DOCKER ) build --build-arg VERSION_ID=$* \
7071 --build-arg WITH_LIBELF=$(WITH_LIBELF) \
0 commit comments