Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ONBUILD to ARGs to allow usage in child builds #107

Open
Archie-Elvie opened this issue Jun 7, 2022 · 0 comments
Open

Add ONBUILD to ARGs to allow usage in child builds #107

Archie-Elvie opened this issue Jun 7, 2022 · 0 comments

Comments

@Archie-Elvie
Copy link

This will allow people to extend the current base image and use the same arguments.

For example., if I do the following:

FROM zephyrprojectrtos/ci:latest
RUN apt install -y clang-format-$LLVM_VERSION`

This does not work as the $LLVM_VERSION ARG is not passed to the child dockerfile. This can be implemented with the ONBUILD keyword.

Proposed change:

ONBUILD ARG ZSDK_VERSION=0.14.2
ONBUILD ARG DOXYGEN_VERSION=1.9.4
ONBUILD ARG CMAKE_VERSION=3.20.5
ONBUILD ARG RENODE_VERSION=1.13.0
ONBUILD ARG LLVM_VERSION=12
ONBUILD ARG BSIM_VERSION=v1.0.3
ONBUILD ARG WGET_ONBUILD ARGS="-q --show-progress --progress=bar:force:noscroll --no-check-certificate"

@stephanosio stephanosio changed the title Add NOBUILD to ARGs to allow usage in child builds Add ONBUILD to ARGs to allow usage in child builds Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant