fix: use sh for the entry point in docker

This commit is contained in:
Amin Yahyaabadi 2021-09-29 19:56:28 -05:00
parent 07b2187049
commit dd02c2e2c4
5 changed files with 12 additions and 6 deletions

View File

@ -147,7 +147,7 @@ RUN chmod +x ./setup_cpp_linux
# install llvm, cmake, ninja, ccache, and conan
RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --conan true
ENTRYPOINT [ "/bin/bash" ]
ENTRYPOINT [ "/bin/sh" ]
```
See [this folder](https://github.com/aminya/setup-cpp/tree/master/building/docker), for some dockerfile examples.
@ -158,7 +158,13 @@ If you want to build the ones included, then run:
docker build -f ./building/docker/debian.dockerfile -t setup_cpp .
```
After `-f` use the docker file name.
Where you should use the path to the the docker after `-f`.
After build, run the following to start an interactive shell in your container
```ps1
docker run -it setup_cpp
```
### Incomplete

View File

@ -12,4 +12,4 @@ RUN chmod +x ./setup_cpp_linux
# install llvm, cmake, ninja, ccache, and conan
RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --conan true
ENTRYPOINT [ "/bin/bash" ]
ENTRYPOINT [ "/bin/sh" ]

View File

@ -8,4 +8,4 @@ WORKDIR "/"
# run installation
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --conan true
ENTRYPOINT [ "/bin/bash" ]
ENTRYPOINT [ "/bin/sh" ]

2
dist/setup_cpp.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long