This commit is contained in:
commit
03696f822c
3 changed files with 52 additions and 0 deletions
23
Dockerfile
Normal file
23
Dockerfile
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
FROM docker.io/zmkfirmware/zmk-build-arm:3.5-branch
|
||||
|
||||
WORKDIR /zmk
|
||||
|
||||
COPY west.yml config/west.yml
|
||||
|
||||
RUN apt update
|
||||
RUN apt install -y --no-install-recommends curl
|
||||
|
||||
RUN curl https://dl.min.io/client/mc/release/linux-amd64/mc \
|
||||
--create-dirs \
|
||||
-o /usr/local/bin/mc
|
||||
RUN chmod +x /usr/local/bin/mc
|
||||
ENV PATH="/usr/local/bin:${PATH}"
|
||||
|
||||
|
||||
RUN west init -l config && \
|
||||
git config --global --add safe.directory "*" && \
|
||||
west update
|
||||
|
||||
ENV ZEPHYR_BASE=/zmk/zephyr
|
||||
ADD https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 /usr/local/bin/yq
|
||||
RUN chmod +x /usr/local/bin/yq
|
||||
Loading…
Add table
Add a link
Reference in a new issue