Skip to content

Why is ZEPHYR_BASE hard coded? #162

@NINI1988

Description

@NINI1988

In

ENV ZEPHYR_BASE=/workdir/zephyr

ZEPHYR_BASE is hard coded and prevents the usage of my .west/config file:

[zephyr]
base = deps/zephyr

Without the hard coded ZEPHYR_BASE, west will automatically find zephyr.base from the config file and does't require this. Is there a reason for that? I have zephyr under folder deps, so the hard code path does not exists.

I would like to extend the already build image from ghcr.io/zephyrproject-rtos/zephyr-build:v0.26.4 and extend that for my usage.
But it is not possible in docker to unset an env variable (https://stackoverflow.com/questions/55789409/how-to-unset-env-in-dockerfile).
Otherwise I have to call unset ZEPHYR_BASE before every command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions