Skip to content

Commit c11b1a1

Browse files
committed
cleanup
1 parent e885708 commit c11b1a1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RUN apt-get install -y git build-essential wget
77
# https://github.com/micropython/micropython/issues/8685
88
RUN wget "https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi.tar.xz?rev=95edb5e17b9d43f28c74ce824f9c6f10&hash=D5ACE3A6F75F603551D7702E00ED7B29" -O /tmp/arm-gnu-toolchain.tar.xz
99
RUN tar -xf /tmp/arm-gnu-toolchain.tar.xz -C /usr/local/
10+
RUN rm /tmp/arm-gnu-toolchain.tar.xz
1011
ENV PATH="/usr/local/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi/bin:${PATH}"
1112

1213
# Install nrfutil
@@ -15,11 +16,13 @@ RUN apt-get update
1516
RUN apt-get install -y python2 python2-dev
1617
RUN wget "https://bootstrap.pypa.io/pip/2.7/get-pip.py" -O /tmp/get-pip.py
1718
RUN python2 /tmp/get-pip.py
19+
RUN rm /tmp/get-pip.py
1820
RUN pip install nrfutil
1921
# mergehex is not included in nrfutil
2022
RUN apt-get install -y libusb-1.0-0
2123
RUN wget "https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/desktop-software/nrf-command-line-tools/sw/versions-10-x-x/10-23-2/nrf-command-line-tools_10.23.2_amd64.deb" -O /tmp/nrf-command-line-tools.deb
2224
RUN dpkg -i /tmp/nrf-command-line-tools.deb
25+
RUN rm /tmp/nrf-command-line-tools.deb
2326
ENV PATH="/opt/nrf-command-line-tools/bin:${PATH}"
2427

2528
# Copy all files from the current directory into the build-env container

0 commit comments

Comments
 (0)