You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by bt...@apache.org on 2020/08/05 14:11:11 UTC

[incubator-nuttx-testing] 03/05: Enable effective usage of docker run with arguments

This is an automated email from the ASF dual-hosted git repository.

btashton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-testing.git

commit dde6cd94d70ab16c752a4116fc0cc690aaf88db2
Author: Luis Linares <lu...@ieee.org>
AuthorDate: Wed Aug 5 02:02:26 2020 +0200

    Enable effective usage of docker run with arguments
    
    Reference: https://stackoverflow.com/a/62313159/706031
---
 docker/linux/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docker/linux/Dockerfile b/docker/linux/Dockerfile
index 033ac1a..e2d71dc 100644
--- a/docker/linux/Dockerfile
+++ b/docker/linux/Dockerfile
@@ -182,7 +182,7 @@ ENV PATH="/tools/pinguino-compilers/p32/bin:$PATH"
 # RISCV toolchain
 COPY --from=nuttx-toolchain-riscv /tools/riscv64-unknown-elf-gcc/ riscv64-unknown-elf-gcc/
 ENV PATH="/tools/riscv64-unknown-elf-gcc/bin:$PATH"
- 
+
 # ESP32 toolchain
 COPY --from=nuttx-toolchain-esp32 /tools/xtensa-esp32-elf-gcc/ xtensa-esp32-elf-gcc/
 COPY --from=nuttx-toolchain-esp32 /tools/esp-idf/ esp-idf/
@@ -191,4 +191,4 @@ RUN mkdir -p /tools/blobs/esp32core
 COPY --from=nuttx-toolchain-esp32 /tools/blobs/* /tools/blobs/esp32core/
 RUN pip3 install esptool
 
-ENTRYPOINT [ "/bin/bash" ]
+CMD [ "/bin/bash" ]