Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
Stefan Scherer authored on 2020/03/11 05:56:56... | ... |
@@ -474,13 +474,7 @@ pipeline { |
474 | 474 |
beforeAgent true |
475 | 475 |
expression { params.s390x } |
476 | 476 |
} |
477 |
- agent { label 's390x-ubuntu-1604' } |
|
478 |
- // s390x machines run on Docker 18.06, and buildkit has some |
|
479 |
- // bugs on that version. Build and use buildx instead. |
|
480 |
- environment { |
|
481 |
- USE_BUILDX = '1' |
|
482 |
- DOCKER_BUILDKIT = '0' |
|
483 |
- } |
|
477 |
+ agent { label 's390x-ubuntu-1804' } |
|
484 | 478 |
|
485 | 479 |
stages { |
486 | 480 |
stage("Print info") { |
... | ... |
@@ -497,8 +491,7 @@ pipeline { |
497 | 497 |
stage("Build dev image") { |
498 | 498 |
steps { |
499 | 499 |
sh ''' |
500 |
- make bundles/buildx |
|
501 |
- bundles/buildx build --load --force-rm --build-arg APT_MIRROR=${APT_MIRROR} -t docker:${GIT_COMMIT} . |
|
500 |
+ docker build --force-rm --build-arg APT_MIRROR -t docker:${GIT_COMMIT} . |
|
502 | 501 |
''' |
503 | 502 |
} |
504 | 503 |
} |
... | ... |
@@ -587,13 +580,7 @@ pipeline { |
587 | 587 |
not { changeRequest() } |
588 | 588 |
expression { params.s390x } |
589 | 589 |
} |
590 |
- agent { label 's390x-ubuntu-1604' } |
|
591 |
- // s390x machines run on Docker 18.06, and buildkit has some |
|
592 |
- // bugs on that version. Build and use buildx instead. |
|
593 |
- environment { |
|
594 |
- USE_BUILDX = '1' |
|
595 |
- DOCKER_BUILDKIT = '0' |
|
596 |
- } |
|
590 |
+ agent { label 's390x-ubuntu-1804' } |
|
597 | 591 |
|
598 | 592 |
stages { |
599 | 593 |
stage("Print info") { |
... | ... |
@@ -610,8 +597,7 @@ pipeline { |
610 | 610 |
stage("Build dev image") { |
611 | 611 |
steps { |
612 | 612 |
sh ''' |
613 |
- make bundles/buildx |
|
614 |
- bundles/buildx build --load --force-rm --build-arg APT_MIRROR -t docker:${GIT_COMMIT} . |
|
613 |
+ docker build --force-rm --build-arg APT_MIRROR -t docker:${GIT_COMMIT} . |
|
615 | 614 |
''' |
616 | 615 |
} |
617 | 616 |
} |