We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b817162 commit c64242fCopy full SHA for c64242f
1 file changed
Container/Dockerfile.gap9
@@ -28,11 +28,18 @@ RUN apt-get update && \
28
rm -rf /var/lib/apt/lists/*
29
30
RUN --mount=type=cache,target=/ccache \
31
- ccache -z && make gap9-toolchain
+ ccache -z && make gap9-toolchain && \
32
+ rm -rf /app/toolchain/gap9-toolchain
33
34
RUN --mount=type=ssh \
35
--mount=type=cache,target=/ccache \
36
--mount=type=cache,target=/root/.cache/pip \
37
ccache -z && \
38
make gap9-sdk && \
- ccache -s
39
+ ccache -s && \
40
+ rm -rf /app/toolchain/gap9-sdk && \
41
+ rm -rf /app/install/gap9-sdk/build && \
42
+ rm -rf /app/install/gap9-sdk/.git && \
43
+ rm -rf /app/install/gap9-sdk/nn_menu && \
44
+ find /app/install/gap9-sdk -name "*.o" -delete && \
45
+ find /app/install/gap9-sdk -name "*.a" -not -path "*/lib/*" -delete
0 commit comments