Skip to content

Commit

Permalink
use /var/tmp instead of /tmp so we don't use up memory for symbol sto…
Browse files Browse the repository at this point in the history
…rage
  • Loading branch information
BenLubar committed Jul 21, 2016
1 parent 81261ca commit b5a1442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -50,7 +50,7 @@ RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION.tar.xz
echo ' '; \
echo '- SNPrintF(Vector<char>(file_name, kMaxFileNameSize), "/tmp/elfdump%s%d.o",'; \
echo '- (name_hint != NULL) ? name_hint : "", file_num++);'; \
echo '+ SNPrintF(Vector<char>(file_name, kMaxFileNameSize), "/tmp/elfdump%d-%d.o",'; \
echo '+ SNPrintF(Vector<char>(file_name, kMaxFileNameSize), "/var/tmp/elfdump%d-%d.o",'; \
echo '+ ::getpid(), file_num++);'; \
echo ' WriteBytes(file_name, entry->symfile_addr_,'; \
echo ' static_cast<int>(entry->symfile_size_));'; \
Expand Down

0 comments on commit b5a1442

Please sign in to comment.