forked from inindev/uboot-rockchip
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContainerfile
More file actions
29 lines (27 loc) · 1.29 KB
/
Containerfile
File metadata and controls
29 lines (27 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM debian:sid
# https://hub.docker.com/r/trini/u-boot-gitlab-ci-runner/tags
# ci runner doesnt cross compile, it uses qemu instead
ARG DEBIAN_FRONTEND=noninteractive
RUN apt update && apt upgrade -y
RUN apt update && apt install -y gcc gcc-aarch64-linux-gnu
RUN apt install -y bc bison build-essential coccinelle \
device-tree-compiler dfu-util efitools flex gdisk graphviz imagemagick \
liblz4-tool libgnutls28-dev libguestfs-tools libncurses-dev \
libpython3-dev libsdl2-dev libssl-dev lz4 lzma lzma-alone openssl \
pkg-config python3 python3-asteval python3-coverage python3-filelock \
python3-pkg-resources python3-pycryptodome python3-pyelftools \
python3-pytest python3-pytest-xdist python3-sphinxcontrib.apidoc \
python3-sphinx-rtd-theme python3-subunit python3-testtools \
python3-virtualenv swig uuid-dev
RUN apt install -y screen bc bison flex libssl-dev make python3-dev python3-pyelftools python3-setuptools swig git
# my terminal tools
RUN apt install -y neovim fd-find ripgrep bat lf
COPY patches/ /build/patches/
COPY rkbin/ /build/rkbin/
COPY Makefile /build/
RUN git config --global user.email "blah@blah.com"
ENV CROSS_COMPILE=aarch64-linux-gnu-
# https://docs.u-boot.org/en/latest/build/reproducible.html
#ARG SOURCE_DATE_EPOCH=1704728268
WORKDIR /build
RUN make target_odroid-m1