diff --git a/docker-builder/Dockerfile b/docker-builder/Dockerfile new file mode 100644 index 0000000..43b304a --- /dev/null +++ b/docker-builder/Dockerfile @@ -0,0 +1,78 @@ +FROM ubuntu:22.04 as base +WORKDIR /workdir + +ARG sdk_nrf_branch=v2.6.1 +ARG toolchain_version=v2.6.1 +ARG sdk_nrf_commit + +ENV DEBIAN_FRONTEND=noninteractive + +SHELL [ "/bin/bash", "-euxo", "pipefail", "-c" ] + +# Install dependencies +RUN < /workdir/.clang-format +EOT + +# Prepare image with a ready to use build environment +SHELL ["nrfutil","toolchain-manager","launch","/bin/bash","--","-c"] +RUN <