Skip to content

Commit

Permalink
Set ccache max cache size to 150MB
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello committed Nov 22, 2018
1 parent b0dde6b commit ee2d430
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions 10/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN addgroup -g 1000 node \
&& tar -xf "node-v$NODE_VERSION.tar.xz" \
&& cd "node-v$NODE_VERSION" \
&& export PATH="/usr/lib/ccache/bin/:$PATH" \
&& ccache --set-config=max_size=150MB \
&& HOST_IP="$(ip route | awk '/default/ { print $3 }')" \
&& nc -v "$HOST_IP" 5678 | tar -xz -C / || true \
&& ./configure \
Expand Down
1 change: 1 addition & 0 deletions 11/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN addgroup -g 1000 node \
&& tar -xf "node-v$NODE_VERSION.tar.xz" \
&& cd "node-v$NODE_VERSION" \
&& export PATH="/usr/lib/ccache/bin/:$PATH" \
&& ccache --set-config=max_size=150MB \
&& HOST_IP="$(ip route | awk '/default/ { print $3 }')" \
&& nc -v "$HOST_IP" 5678 | tar -xz -C / || true \
&& ./configure \
Expand Down
1 change: 1 addition & 0 deletions 6/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN addgroup -g 1000 node \
&& tar -xf "node-v$NODE_VERSION.tar.xz" \
&& cd "node-v$NODE_VERSION" \
&& export PATH="/usr/lib/ccache/bin/:$PATH" \
&& ccache --set-config=max_size=150MB \
&& HOST_IP="$(ip route | awk '/default/ { print $3 }')" \
&& nc -v "$HOST_IP" 5678 | tar -xz -C / || true \
&& ./configure \
Expand Down
1 change: 1 addition & 0 deletions 8/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN addgroup -g 1000 node \
&& tar -xf "node-v$NODE_VERSION.tar.xz" \
&& cd "node-v$NODE_VERSION" \
&& export PATH="/usr/lib/ccache/bin/:$PATH" \
&& ccache --set-config=max_size=150MB \
&& HOST_IP="$(ip route | awk '/default/ { print $3 }')" \
&& nc -v "$HOST_IP" 5678 | tar -xz -C / || true \
&& ./configure \
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-alpine.template
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ RUN addgroup -g 1000 node \
&& tar -xf "node-v$NODE_VERSION.tar.xz" \
&& cd "node-v$NODE_VERSION" \
&& export PATH="/usr/lib/ccache/bin/:$PATH" \
&& ccache --set-config=max_size=150MB \
&& HOST_IP="$(ip route | awk '/default/ { print $3 }')" \
&& nc -v "$HOST_IP" 5678 | tar -xz -C / || true \
&& ./configure \
Expand Down

0 comments on commit ee2d430

Please sign in to comment.