dist: use Ubuntu-18.04 to build ARM64 binaries

This commit is contained in:
Ștefan Talpalaru 2021-05-25 20:38:18 +02:00 committed by zah
parent 73e9448a1a
commit 9ddf7fea23
4 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# The build is reproducible only if this base image stays the same. # The build is reproducible only if this base image stays the same.
FROM statusteam/nimbus_beacon_node:dist_base_20210310021543_arm64_v2@sha256:9f63432ec61cae086235359db84575de7edd0b78320e3590285d273cbab79de2 FROM statusteam/nimbus_beacon_node:dist_base_20210525175232_arm64_v3@sha256:42d4c07aad4630c36123cab0283e8a5372515a0c1eec2bc9b7ac21c483e560c9
SHELL ["/bin/bash", "-c"] SHELL ["/bin/bash", "-c"]

View File

@ -6,7 +6,9 @@
# it once, upload it to Docker Hub and make sure it's being pulled regularly so # it once, upload it to Docker Hub and make sure it's being pulled regularly so
# it's not deleted after 6 months of inactivity. # it's not deleted after 6 months of inactivity.
FROM ubuntu:20.04 # We use an older Ubuntu version so we can support Raspbian's glibc-2.28:
# https://github.com/status-im/nimbus-eth2/issues/2583
FROM ubuntu:18.04
SHELL ["/bin/bash", "-c"] SHELL ["/bin/bash", "-c"]

View File

@ -19,7 +19,7 @@ build-amd64:
$(CURDIR)/make_base_image.sh amd64 "$(IMAGE_NAME)" $(CURDIR)/make_base_image.sh amd64 "$(IMAGE_NAME)"
build-arm64: build-arm64:
$(CURDIR)/make_base_image.sh arm64 "$(IMAGE_NAME)_arm64_v2" $(CURDIR)/make_base_image.sh arm64 "$(IMAGE_NAME)_arm64_v3"
build-arm: build-arm:
$(CURDIR)/make_base_image.sh arm "$(IMAGE_NAME)_arm_v2" $(CURDIR)/make_base_image.sh arm "$(IMAGE_NAME)_arm_v2"
@ -38,7 +38,7 @@ build-macos:
# docker push $(IMAGE_NAME) # docker push $(IMAGE_NAME)
#push-arm64: build-arm64 #push-arm64: build-arm64
# docker push $(IMAGE_NAME)_arm64_v2 # docker push $(IMAGE_NAME)_arm64_v3
#push-arm: build-arm #push-arm: build-arm
# docker push $(IMAGE_NAME)_arm_v2 # docker push $(IMAGE_NAME)_arm_v2

@ -1 +1 @@
Subproject commit d74428a6ee9fb5fa1b5bcc9ac11bbf55e9401cb1 Subproject commit 77747657f65a5fe26c281445b6ee9a1d6e72b1eb