diff options
author | Peter Feerick <peter.feerick@gmail.com> | 2020-12-12 12:58:14 +1000 |
---|---|---|
committer | Peter Feerick <peter.feerick@gmail.com> | 2020-12-12 12:58:14 +1000 |
commit | 1aaa906a78e7265669cd0b8f227885e010fd0173 (patch) | |
tree | e557ba0d0684765d0cbd4c5c2f0c42d2e1965c27 /docker/amd64 | |
parent | 8a6b828ab750b6fb8682534aea45ed1fdc3610d0 (diff) |
Expand update block for readability and add cleanup
Diffstat (limited to 'docker/amd64')
-rw-r--r-- | docker/amd64/Dockerfile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/docker/amd64/Dockerfile b/docker/amd64/Dockerfile index 0ea2c0a9..c5bccb14 100644 --- a/docker/amd64/Dockerfile +++ b/docker/amd64/Dockerfile @@ -1,6 +1,19 @@ FROM amd64/ubuntu:18.04 -RUN apt-get update -qq && apt-get install -y wget unzip cmake make build-essential git python3 python3-pip +ARG DEBIAN_FRONTEND=noninteractive +RUN apt-get update -qq \ + && apt-get install -y \ + build-essential \ + cmake \ + git \ + make \ + python3 \ + python3-pip \ + tar \ + unzip \ + 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-x86_64-linux.tar.bz -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 |