mirror of https://github.com/aminya/setup-cpp
fix: use sh for the entry point in docker
This commit is contained in:
parent
07b2187049
commit
dd02c2e2c4
10
README.md
10
README.md
|
@ -147,7 +147,7 @@ RUN chmod +x ./setup_cpp_linux
|
||||||
# install llvm, cmake, ninja, ccache, and conan
|
# install llvm, cmake, ninja, ccache, and conan
|
||||||
RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --conan true
|
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.
|
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 .
|
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
|
### Incomplete
|
||||||
|
|
||||||
|
|
|
@ -12,4 +12,4 @@ RUN chmod +x ./setup_cpp_linux
|
||||||
# install llvm, cmake, ninja, ccache, and conan
|
# install llvm, cmake, ninja, ccache, and conan
|
||||||
RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --conan true
|
RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --conan true
|
||||||
|
|
||||||
ENTRYPOINT [ "/bin/bash" ]
|
ENTRYPOINT [ "/bin/sh" ]
|
||||||
|
|
|
@ -8,4 +8,4 @@ WORKDIR "/"
|
||||||
# run installation
|
# run installation
|
||||||
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --conan true
|
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --conan true
|
||||||
|
|
||||||
ENTRYPOINT [ "/bin/bash" ]
|
ENTRYPOINT [ "/bin/sh" ]
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue