diff options
author | Peter Feerick <peter.feerick@gmail.com> | 2020-12-12 13:02:55 +1000 |
---|---|---|
committer | Peter Feerick <peter.feerick@gmail.com> | 2020-12-12 13:02:55 +1000 |
commit | 3eab95ea4ecfc31bef27c20e713ec1af24db2508 (patch) | |
tree | a3c670dc6a415c4b3650729a0f64212c5cd29614 /docker/arm64v8/Dockerfile | |
parent | 1aaa906a78e7265669cd0b8f227885e010fd0173 (diff) |
Add cleanup and make download stages more readable
Diffstat (limited to 'docker/arm64v8/Dockerfile')
-rw-r--r-- | docker/arm64v8/Dockerfile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/docker/arm64v8/Dockerfile b/docker/arm64v8/Dockerfile index 9de2b908..cea2b837 100644 --- a/docker/arm64v8/Dockerfile +++ b/docker/arm64v8/Dockerfile @@ -17,10 +17,16 @@ RUN apt-get update -qq \ wget \ && rm -rf /var/cache/apt/* /var/lib/apt/lists/* -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 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 \ + && tar -xjf gcc-arm-none-eabi-9-2020-q2-update-aarch64-linux.tar.bz2 -C /opt \ + && rm gcc-arm-none-eabi-9-2020-q2-update-aarch64-linux.tar.bz2 + +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 ARG PUID=1000 |