mirror of
https://github.com/embedd-actions/nrf-connect-sdk-ci.git
synced 2024-12-26 00:42:24 +03:00
Merge pull request #16 from embedd-actions/v2.4.2-branch
Update Dockerfile
This commit is contained in:
commit
27726a9cd1
@ -64,14 +64,15 @@ RUN ARCH="$(dpkg --print-architecture)" && \
|
|||||||
pip3 install -r nrf/scripts/requirements.txt --break-system-packages && \
|
pip3 install -r nrf/scripts/requirements.txt --break-system-packages && \
|
||||||
pip3 install -r bootloader/mcuboot/scripts/requirements.txt --break-system-packages && \
|
pip3 install -r bootloader/mcuboot/scripts/requirements.txt --break-system-packages && \
|
||||||
cd ~ && \
|
cd ~ && \
|
||||||
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${ZEPHYR_TAG}/zephyr-sdk-${ZEPHYR_TAG}_linux-${ZEPHYR_ARCH}.tar.${ZEPHYR_ARCHIVE_EXTENSION} && \
|
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${ZEPHYR_TAG}/zephyr-sdk-${ZEPHYR_TAG}_linux-${ZEPHYR_ARCH}_minimal.tar.${ZEPHYR_ARCHIVE_EXTENSION} && \
|
||||||
(wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${ZEPHYR_TAG}/sha256.sum | shasum --check --ignore-missing) && \
|
(wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${ZEPHYR_TAG}/sha256.sum | shasum --check --ignore-missing) && \
|
||||||
tar xvf zephyr-sdk-${ZEPHYR_TAG}_linux-$ZEPHYR_ARCH.tar.${ZEPHYR_ARCHIVE_EXTENSION} && \
|
tar xvf zephyr-sdk-${ZEPHYR_TAG}_linux-${ZEPHYR_ARCH}_minimal.tar.${ZEPHYR_ARCHIVE_EXTENSION} && \
|
||||||
rm zephyr-sdk-${ZEPHYR_TAG}_linux-$ZEPHYR_ARCH.tar.${ZEPHYR_ARCHIVE_EXTENSION} && \
|
rm zephyr-sdk-${ZEPHYR_TAG}_linux-${ZEPHYR_ARCH}_minimal.tar.${ZEPHYR_ARCHIVE_EXTENSION} && \
|
||||||
apt-get remove python3-pip build-essential -y && \
|
apt-get remove python3-pip build-essential -y && \
|
||||||
apt autoremove -y && \
|
apt autoremove -y && \
|
||||||
apt autoclean -y && \
|
apt autoclean -y && \
|
||||||
find ./zephyr-sdk-${ZEPHYR_TAG} -maxdepth 1 -not -name zephyr-sdk-${ZEPHYR_TAG} -not -name 'arm-zephyr-eabi' -not -name 'cmake' -not -name 'sdk_*' -not -name '*.sh' -exec rm -R {} \;
|
./zephyr-sdk-${ZEPHYR_TAG}/setup.sh -t arm-zephyr-eabi && \
|
||||||
|
./zephyr-sdk-${ZEPHYR_TAG}/setup.sh -c
|
||||||
|
|
||||||
COPY ./entrypoint.sh /bin/
|
COPY ./entrypoint.sh /bin/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user