mirror of https://github.com/aminya/setup-cpp
fix: update cpp_vcpkg_project
This commit is contained in:
parent
75619ca972
commit
e5a638c770
|
@ -1 +1 @@
|
||||||
Subproject commit f4fe216401a8eac95d66969f0ee2b760b3c4edf0
|
Subproject commit 8775a79c3af6d7efe193ff26afadb45bd74ed894
|
|
@ -9,7 +9,7 @@ RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.
|
||||||
RUN chmod +x ./setup_cpp_linux
|
RUN chmod +x ./setup_cpp_linux
|
||||||
|
|
||||||
# install llvm, cmake, ninja, and ccache
|
# install llvm, cmake, ninja, and ccache
|
||||||
RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true --make true
|
RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true --task true
|
||||||
|
|
||||||
CMD source ~/.cpprc
|
CMD source ~/.cpprc
|
||||||
ENTRYPOINT [ "/bin/bash" ]
|
ENTRYPOINT [ "/bin/bash" ]
|
||||||
|
@ -19,7 +19,7 @@ FROM base AS builder
|
||||||
ADD ./dev/cpp_vcpkg_project /home/app
|
ADD ./dev/cpp_vcpkg_project /home/app
|
||||||
WORKDIR /home/app
|
WORKDIR /home/app
|
||||||
RUN bash -c 'source ~/.cpprc \
|
RUN bash -c 'source ~/.cpprc \
|
||||||
&& make build'
|
&& task build'
|
||||||
|
|
||||||
### Running environment
|
### Running environment
|
||||||
# use a distroless image or ubuntu:22.04 if you wish
|
# use a distroless image or ubuntu:22.04 if you wish
|
||||||
|
|
|
@ -8,7 +8,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt-get update -qq
|
RUN apt-get update -qq
|
||||||
RUN apt-get install -y --no-install-recommends curl gnupg ca-certificates
|
RUN apt-get install -y --no-install-recommends curl gnupg ca-certificates
|
||||||
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
|
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
|
||||||
RUN apt-get install -y --no-install-recommends nodejs
|
RUN apt-get install -y --no-install-recommends nodejs
|
||||||
|
|
||||||
# add setup_cpp.js
|
# add setup_cpp.js
|
||||||
|
@ -16,7 +16,7 @@ ADD "./dist/" "/"
|
||||||
WORKDIR "/"
|
WORKDIR "/"
|
||||||
|
|
||||||
# run installation
|
# run installation
|
||||||
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true --make true
|
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true --task true
|
||||||
|
|
||||||
CMD source ~/.cpprc
|
CMD source ~/.cpprc
|
||||||
ENTRYPOINT [ "/bin/bash" ]
|
ENTRYPOINT [ "/bin/bash" ]
|
||||||
|
@ -25,8 +25,8 @@ ENTRYPOINT [ "/bin/bash" ]
|
||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
ADD ./dev/cpp_vcpkg_project /home/app
|
ADD ./dev/cpp_vcpkg_project /home/app
|
||||||
WORKDIR /home/app
|
WORKDIR /home/app
|
||||||
RUN bash -c 'source ~/.cpprc \
|
RUN bash -c 'source ~/.cpprc \
|
||||||
&& make build'
|
&& task build'
|
||||||
|
|
||||||
### Running environment
|
### Running environment
|
||||||
# use a distroless image or ubuntu:20.04 if you wish
|
# use a distroless image or ubuntu:20.04 if you wish
|
||||||
|
|
|
@ -8,7 +8,7 @@ ADD "./dist/" "/"
|
||||||
WORKDIR "/"
|
WORKDIR "/"
|
||||||
|
|
||||||
# run installation
|
# run installation
|
||||||
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true --make true
|
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true --task true
|
||||||
|
|
||||||
CMD source ~/.cpprc
|
CMD source ~/.cpprc
|
||||||
ENTRYPOINT [ "/bin/bash" ]
|
ENTRYPOINT [ "/bin/bash" ]
|
||||||
|
@ -17,8 +17,8 @@ ENTRYPOINT [ "/bin/bash" ]
|
||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
ADD ./dev/cpp_vcpkg_project /home/app
|
ADD ./dev/cpp_vcpkg_project /home/app
|
||||||
WORKDIR /home/app
|
WORKDIR /home/app
|
||||||
RUN bash -c 'source ~/.cpprc \
|
RUN bash -c 'source ~/.cpprc \
|
||||||
&& make build'
|
&& task build'
|
||||||
|
|
||||||
### Running environment
|
### Running environment
|
||||||
# use a distroless image or ubuntu:22.04 if you wish
|
# use a distroless image or ubuntu:22.04 if you wish
|
||||||
|
|
Loading…
Reference in New Issue