Skip to content

Unable to build locally #746

Description

@BlazeOfHell

When running make an error occurs after image is built

make
/usr/bin/podman build --tag zmk --file Dockerfile .
STEP 1/8: FROM docker.io/zmkfirmware/zmk-build-arm:stable
STEP 2/8: WORKDIR /app
--> Using cache ed45e1e7314341ee1ca1416b2e4ee86a93d371ef8feb2bc181c17307073f3e97
--> ed45e1e73143
STEP 3/8: COPY config/west.yml config/west.yml
--> Using cache 19a74378b1354413861f2a6cc8ad72b85e7ce7d0a7742f89ef8604ba28bf3edb
--> 19a74378b135
STEP 4/8: RUN west init -l config
--> Using cache a03e54777b4554a520cad23bb77823c389bb6f58ed4746db3685f3311c19b8f0
--> a03e54777b45
STEP 5/8: RUN west update
--> Using cache 04ed4f5200978c097a1ec1d0e07613734867a3640b05b95ccedcc2d5f08ad7d8
--> 04ed4f520097
STEP 6/8: RUN west zephyr-export
--> Using cache 31ae64e2fc8c7b24f85d01daa30e909c079b4f299cb1922e3083c15a737e061b
--> 31ae64e2fc8c
STEP 7/8: COPY bin/build.sh ./
--> Using cache 2c6bc25f9ff971c6b861a962c550f25a3e98be36374691c5da856c3d68c013cb
--> 2c6bc25f9ff9
STEP 8/8: CMD ["./build.sh"]
--> Using cache 79ba970f3adce2228e580544218ff3add783afa8e728c3cddcb474bcfc92eb0d
COMMIT zmk
--> 79ba970f3adc
Successfully tagged localhost/zmk:latest
79ba970f3adce2228e580544218ff3add783afa8e728c3cddcb474bcfc92eb0d
/usr/bin/podman run --rm -it --name zmk
-v /firmware:/app/firmware:z
-v /config:/app/config:ro,z
-e TIMESTAMP=202509120214
-e COMMIT=091a5d4
-e BUILD_RIGHT=true
zmk
usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] ...
west: unknown command "build"; workspace /app does not define this extension command -- try "west help"
make: *** [Makefile:17: all] Error 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions