You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .devcontainer/Dockerfile
+12-5Lines changed: 12 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,6 @@ RUN apt-get update -qq \
22
22
rustc \
23
23
&& rm -rf /var/cache/apt/* /var/lib/apt/lists/*;
24
24
25
-
RUN adduser infinitime
26
-
27
25
RUN pip3 install adafruit-nrfutil
28
26
# required for McuBoot
29
27
RUN pip3 install setuptools_rust
@@ -34,10 +32,19 @@ COPY build.sh .
34
32
35
33
# Lets get each in a separate docker layer for better downloads
36
34
# GCC
37
-
RUN bash -c "source /opt/build.sh; GetGcc;"
35
+
# RUN bash -c "source /opt/build.sh; GetGcc;"
36
+
RUN wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 -O - | tar -xj -C /opt
37
+
# RUN rm gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
38
38
# NrfSdk
39
-
RUN bash -c "source /opt/build.sh; GetNrfSdk;"
39
+
# RUN bash -c "source /opt/build.sh; GetNrfSdk;"
40
+
RUN wget -q "https://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/nRF5_SDK_15.3.0_59ac345.zip" -O /tmp/nRF5_SDK_15.3.0_59ac345
41
+
RUN unzip -q /tmp/nRF5_SDK_15.3.0_59ac345 -d /opt
42
+
RUN rm /tmp/nRF5_SDK_15.3.0_59ac345
40
43
# McuBoot
41
-
RUN bash -c "source /opt/build.sh; GetMcuBoot;"
44
+
# RUN bash -c "source /opt/build.sh; GetMcuBoot;"
45
+
RUN git clone https://github.com/JuulLabs-OSS/mcuboot.git
46
+
RUN pip3 install -r ./mcuboot/scripts/requirements.txt
0 commit comments