File tree Expand file tree Collapse file tree 4 files changed +8
-17
lines changed Expand file tree Collapse file tree 4 files changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ FROM aminya/setup-cpp-ubuntu:latest AS setup-cpp-ubuntu-gcc
4
4
RUN node --enable-source-maps /usr/lib/setup-cpp/setup-cpp.mjs \
5
5
--compiler gcc && \
6
6
# cleanup
7
- nala autoremove -y && \
8
- nala autopurge -y && \
9
- apt-get clean && \
10
- nala clean --lists && \
7
+ apt-get clean autoclean && \
8
+ apt-get autoremove -y && \
11
9
rm -rf /var/lib/apt/lists/* && \
12
10
rm -rf /tmp/*
13
11
Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ FROM aminya/setup-cpp-ubuntu:latest AS setup-cpp-ubuntu-llvm
4
4
RUN node --enable-source-maps /usr/lib/setup-cpp/setup-cpp.mjs \
5
5
--compiler llvm && \
6
6
# cleanup
7
- nala autoremove -y && \
8
- nala autopurge -y && \
9
- apt-get clean && \
10
- nala clean --lists && \
7
+ apt-get clean autoclean && \
8
+ apt-get autoremove -y && \
11
9
rm -rf /var/lib/apt/lists/* && \
12
10
rm -rf /tmp/*
13
11
Original file line number Diff line number Diff line change @@ -5,10 +5,8 @@ RUN node --enable-source-maps /usr/lib/setup-cpp/setup-cpp.mjs \
5
5
--compiler mingw \
6
6
--powershell true && \
7
7
# cleanup
8
- nala autoremove -y && \
9
- nala autopurge -y && \
10
- apt-get clean && \
11
- nala clean --lists && \
8
+ apt-get clean autoclean && \
9
+ apt-get autoremove -y && \
12
10
rm -rf /var/lib/apt/lists/* && \
13
11
rm -rf /tmp/*
14
12
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ COPY "./dist/modern" "/usr/lib/setup-cpp/"
23
23
24
24
# install the cpp tools
25
25
RUN node --enable-source-maps /usr/lib/setup-cpp/setup-cpp.mjs \
26
- --nala true \
27
26
--cmake true \
28
27
--ninja true \
29
28
--task true \
@@ -38,10 +37,8 @@ RUN node --enable-source-maps /usr/lib/setup-cpp/setup-cpp.mjs \
38
37
--cmakelang true \
39
38
--meson true && \
40
39
# cleanup
41
- nala autoremove -y && \
42
- nala autopurge -y && \
43
- apt-get clean && \
44
- nala clean --lists && \
40
+ apt-get clean autoclean && \
41
+ apt-get autoremove -y && \
45
42
rm -rf /var/lib/apt/lists/* && \
46
43
rm -rf /tmp/*
47
44
You can’t perform that action at this time.
0 commit comments