This commit is contained in:
Sergey Ladanov 2023-09-17 22:10:16 +03:00
parent 9cebfba5c7
commit e12cb0021b
2 changed files with 8 additions and 4 deletions

View File

@ -2,10 +2,13 @@ FROM debian:stable-slim
#ARG ARCH=amd64 #ARG ARCH=amd64
ARG NRF_CONNECT_TAG=v2.3.0 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 # For new versions - xz
ARG ZEPHYR_ARCHIVE_EXTENSION=gz 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)" && \ RUN ARCH="$(dpkg --print-architecture)" && \
case $ARCH in \ case $ARCH in \

View File

@ -7,5 +7,6 @@ services:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
args: args:
- NRF_CONNECT_TAG=v2.4.2 - NRF_CONNECT_TAG=v2.3.0
- ZEPHYR_TAG=0.16.1 - ZEPHYR_NEEDED_TAG=0.15.2
- ZEPHYR_ARCHIVE_EXTENSION=gz