summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorRyan Winchester <ryan@sevenshores.co>2022-05-20 21:08:18 -0300
committerRyan Winchester <ryan@sevenshores.co>2022-05-20 21:08:18 -0300
commit9517b0ccff3bad971bb002697f3905b1108ca4e2 (patch)
tree11938a3d7358bc19661feab532548a4d3fd29958 /Dockerfile
parent068b1ff56a6f77092c5d3924831fd498e994c620 (diff)
Add Dockerfile optimizations
@ThePrimeagen did these on-stream.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index c31cfe7..dd98a29 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,6 +4,15 @@ RUN mkdir -p /app/firmware
WORKDIR /app
+COPY config/west.yml config/west.yml
+
+# West Init
+RUN west init -l config
+# West Update
+RUN west update
+# West Zephyr export
+RUN west zephyr-export
+
COPY config config
COPY bin/build.sh ./