diff options
author | JF <jf@codingfield.com> | 2020-08-19 16:05:53 +0200 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2020-08-19 16:05:53 +0200 |
commit | 38418931f1ee46e5405d48fcee18005b6ab4c4c7 (patch) | |
tree | f2e00c3ee30295486496d91d96194892e9bb38d6 /docker/arm64 | |
parent | 9906a708c9fcbc13f47bdba0cb8512799a2a3719 (diff) | |
parent | 58811d76cfa742d6e046dc5003e9fc3b95589fa7 (diff) |
Merge branch 'dockerfile' of JF/PineTime into develop
Diffstat (limited to 'docker/arm64')
-rw-r--r-- | docker/arm64/Dockerfile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docker/arm64/Dockerfile b/docker/arm64/Dockerfile new file mode 100644 index 00000000..d9157d05 --- /dev/null +++ b/docker/arm64/Dockerfile @@ -0,0 +1,10 @@ +FROM ubuntu:18.04 +RUN apt-get update -qq && apt-get install -y wget unzip cmake make build-essential git python3 python3-pip libffi-dev libssl-dev python3-dev +RUN wget -q https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-aarch64-linux.tar.bz2 -O - | tar -xj -C /opt/ +RUN wget -q https://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/nRF5_SDK_15.3.0_59ac345.zip && unzip -q nRF5_SDK_15.3.0_59ac345.zip -d /opt/ && rm nRF5_SDK_15.3.0_59ac345.zip + +RUN git clone https://github.com/JuulLabs-OSS/mcuboot.git /opt/mcuboot && pip3 install -r /opt/mcuboot/scripts/requirements.txt +RUN pip3 install adafruit-nrfutil + + +CMD ["/sources/docker/build.sh"] |