Try using an entrypoint script for args.

This commit is contained in:
Pete Johanson 2020-06-08 12:49:02 -04:00
parent d77df5a27a
commit 89d61e8793
2 changed files with 7 additions and 1 deletions

View file

@ -54,4 +54,7 @@ RUN wget -q https://raw.githubusercontent.com/zephyrproject-rtos/zephyr/master/s
ENV ZEPHYR_TOOLCHAIN_VARIANT=zephyr ENV ZEPHYR_TOOLCHAIN_VARIANT=zephyr
ENV ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-${ZSDK_VERSION} ENV ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-${ZSDK_VERSION}
ENTRYPOINT ["west"] COPY ./entrypoint.sh ./
RUN chmod +x ./entrypoint.sh
ENTRYPOINT ["./entrypoint.sh"]

View file

@ -0,0 +1,3 @@
#!/bin/sh
west $1 $2