File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true
194
194
# activate cpp environment variables
195
195
RUN source ~/.cpprc
196
196
197
- ENTRYPOINT [ "/bin/sh " ]
197
+ ENTRYPOINT [ "/bin/bash " ]
198
198
```
199
199
200
200
See [ this folder] ( https://github.com/aminya/setup-cpp/tree/master/dev/docker ) , for some dockerfile examples.
Original file line number Diff line number Diff line change @@ -12,13 +12,14 @@ RUN chmod +x ./setup_cpp_linux
12
12
RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true --make true
13
13
14
14
CMD source ~/.cpprc
15
- ENTRYPOINT [ "/bin/sh " ]
15
+ ENTRYPOINT [ "/bin/bash " ]
16
16
17
17
# ### Building
18
18
FROM base AS builder
19
19
ADD ./dev/cpp_vcpkg_project /home/app
20
20
WORKDIR /home/app
21
- RUN make build
21
+ RUN bash -c 'source ~/.cpprc \
22
+ && make build'
22
23
23
24
# ## Running environment
24
25
FROM gcr.io/distroless/cc
Original file line number Diff line number Diff line change @@ -11,13 +11,14 @@ WORKDIR "/"
11
11
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true --make true
12
12
13
13
CMD source ~/.cpprc
14
- ENTRYPOINT [ "/bin/sh " ]
14
+ ENTRYPOINT [ "/bin/bash " ]
15
15
16
16
# ### Building
17
17
FROM base AS builder
18
18
ADD ./dev/cpp_vcpkg_project /home/app
19
19
WORKDIR /home/app
20
- RUN make build
20
+ RUN bash -c 'source ~/.cpprc \
21
+ && make build'
21
22
22
23
# ## Running environment
23
24
FROM gcr.io/distroless/cc
Original file line number Diff line number Diff line change @@ -19,13 +19,14 @@ WORKDIR "/"
19
19
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true --make true
20
20
21
21
CMD source ~/.cpprc
22
- ENTRYPOINT [ "/bin/sh " ]
22
+ ENTRYPOINT [ "/bin/bash " ]
23
23
24
24
# ### Building
25
25
FROM base AS builder
26
26
ADD ./dev/cpp_vcpkg_project /home/app
27
27
WORKDIR /home/app
28
- RUN make build
28
+ RUN bash -c 'source ~/.cpprc \
29
+ && make build'
29
30
30
31
# ## Running environment
31
32
FROM gcr.io/distroless/cc
You can’t perform that action at this time.
0 commit comments