zmk-prebuilt/Dockerfile
gwg313 03696f822c
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
initial commit
2025-07-01 01:09:12 -04:00

23 lines
589 B
Docker

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