Skip to content

Commit ee2d430

Browse files
Set ccache max cache size to 150MB
1 parent b0dde6b commit ee2d430

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

10/alpine/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ RUN addgroup -g 1000 node \
4141
&& tar -xf "node-v$NODE_VERSION.tar.xz" \
4242
&& cd "node-v$NODE_VERSION" \
4343
&& export PATH="/usr/lib/ccache/bin/:$PATH" \
44+
&& ccache --set-config=max_size=150MB \
4445
&& HOST_IP="$(ip route | awk '/default/ { print $3 }')" \
4546
&& nc -v "$HOST_IP" 5678 | tar -xz -C / || true \
4647
&& ./configure \

11/alpine/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ RUN addgroup -g 1000 node \
4141
&& tar -xf "node-v$NODE_VERSION.tar.xz" \
4242
&& cd "node-v$NODE_VERSION" \
4343
&& export PATH="/usr/lib/ccache/bin/:$PATH" \
44+
&& ccache --set-config=max_size=150MB \
4445
&& HOST_IP="$(ip route | awk '/default/ { print $3 }')" \
4546
&& nc -v "$HOST_IP" 5678 | tar -xz -C / || true \
4647
&& ./configure \

6/alpine/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ RUN addgroup -g 1000 node \
4141
&& tar -xf "node-v$NODE_VERSION.tar.xz" \
4242
&& cd "node-v$NODE_VERSION" \
4343
&& export PATH="/usr/lib/ccache/bin/:$PATH" \
44+
&& ccache --set-config=max_size=150MB \
4445
&& HOST_IP="$(ip route | awk '/default/ { print $3 }')" \
4546
&& nc -v "$HOST_IP" 5678 | tar -xz -C / || true \
4647
&& ./configure \

8/alpine/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ RUN addgroup -g 1000 node \
4141
&& tar -xf "node-v$NODE_VERSION.tar.xz" \
4242
&& cd "node-v$NODE_VERSION" \
4343
&& export PATH="/usr/lib/ccache/bin/:$PATH" \
44+
&& ccache --set-config=max_size=150MB \
4445
&& HOST_IP="$(ip route | awk '/default/ { print $3 }')" \
4546
&& nc -v "$HOST_IP" 5678 | tar -xz -C / || true \
4647
&& ./configure \

Dockerfile-alpine.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ RUN addgroup -g 1000 node \
3333
&& tar -xf "node-v$NODE_VERSION.tar.xz" \
3434
&& cd "node-v$NODE_VERSION" \
3535
&& export PATH="/usr/lib/ccache/bin/:$PATH" \
36+
&& ccache --set-config=max_size=150MB \
3637
&& HOST_IP="$(ip route | awk '/default/ { print $3 }')" \
3738
&& nc -v "$HOST_IP" 5678 | tar -xz -C / || true \
3839
&& ./configure \

0 commit comments

Comments
 (0)