2020-10-15 12:19:41 +00:00
|
|
|
# This Docker image can change from one build to another, because the upstream
|
2020-11-03 23:46:23 +00:00
|
|
|
# Debian/Ubuntu package index is continuously updated and we have to run
|
|
|
|
# `apt-get update` in here.
|
2020-10-15 12:19:41 +00:00
|
|
|
#
|
|
|
|
# The only way to make this a part of our reproducible build system is to build
|
|
|
|
# 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.
|
|
|
|
|
2021-05-25 18:38:18 +00:00
|
|
|
# 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
|
2020-10-15 12:19:41 +00:00
|
|
|
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
|
2021-01-07 09:19:29 +00:00
|
|
|
ENV DEBIAN_FRONTEND=noninteractive TZ="Etc/UTC"
|
2020-10-15 12:19:41 +00:00
|
|
|
RUN apt-get -qq update \
|
2021-03-10 02:59:19 +00:00
|
|
|
&& apt-get -qq -y install build-essential git \
|
|
|
|
binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu &>/dev/null \
|
2020-10-15 12:19:41 +00:00
|
|
|
&& apt-get -qq clean \
|
2021-03-10 02:59:19 +00:00
|
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
2020-10-15 12:19:41 +00:00
|
|
|
|