All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
23 lines
589 B
Docker
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
|