From e12cb0021be080eb7344ae9b92574c941fee45af Mon Sep 17 00:00:00 2001 From: Sergey Ladanov Date: Sun, 17 Sep 2023 22:10:16 +0300 Subject: [PATCH] update --- Dockerfile | 7 +++++-- docker-compose.yml | 5 +++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6b57fa3..3371f3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,13 @@ FROM debian:stable-slim #ARG ARCH=amd64 ARG NRF_CONNECT_TAG=v2.3.0 +# Should be for selected NRF_CONNECT_TAG +ARG ZEPHYR_NEEDED_TAG=0.15.2 # For new versions - xz ARG ZEPHYR_ARCHIVE_EXTENSION=gz -# Should be for selected NRF_CONNECT_TAG -ENV ZEPHYR_TAG=0.15.2 + +# For entrypoint file +ENV ZEPHYR_TAG=$ZEPHYR_NEEDED_TAG RUN ARCH="$(dpkg --print-architecture)" && \ case $ARCH in \ diff --git a/docker-compose.yml b/docker-compose.yml index 4d2a36b..7e79ce0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,5 +7,6 @@ services: context: . dockerfile: Dockerfile args: - - NRF_CONNECT_TAG=v2.4.2 - - ZEPHYR_TAG=0.16.1 + - NRF_CONNECT_TAG=v2.3.0 + - ZEPHYR_NEEDED_TAG=0.15.2 + - ZEPHYR_ARCHIVE_EXTENSION=gz