File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ # ### Base Image
2+ FROM ubuntu:20.04 as setup-cpp-ubuntu-mingw
3+
4+ RUN apt-get update -qq && \
5+ # install latest nodejs on ubuntu 20.04
6+ apt-get update -qq && \
7+ apt-get install -y --no-install-recommends curl gnupg ca-certificates && \
8+ mkdir -p /etc/apt/keyrings && \
9+ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
10+ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
11+ apt-get update -qq && \
12+ apt-get install -y --no-install-recommends nodejs && \
13+ # install setup-cpp
14+ npm install -g setup-cpp@v0.35.6 && \
15+ # install the compiler and tools
16+ setup-cpp \
17+ --nala true \
18+ --compiler mingw \
19+ --cmake true \
20+ --ninja true \
21+ --task true \
22+ --vcpkg true \
23+ --python true \
24+ --make true \
25+ --cppcheck true \
26+ --gcovr true \
27+ --doxygen true \
28+ --ccache true \
29+ --powershell true && \
30+ # cleanup
31+ nala autoremove -y && \
32+ nala autopurge -y && \
33+ apt-get clean && \
34+ nala clean --lists && \
35+ rm -rf /var/lib/apt/lists/* && \
36+ rm -rf /tmp/*
37+
38+ ENTRYPOINT ["/bin/bash" ]
You can’t perform that action at this time.
0 commit comments