Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce the amount of make output and speed up the build
The build logs were going over 4MB so Travis was failing the build. Now building the dependencies only produces output if the build fails.
- Loading branch information
1 parent
30cd894
commit f0b39ce
Showing
3 changed files
with
33 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
FROM ubuntu:16.04 | ||
|
||
|
||
RUN apt-get update && apt-get install -y git gcc g++ build-essential python-dev zlib1g-dev libkyototycoon-dev libtokyocabinet-dev libkyotocabinet-dev wget valgrind libbz2-dev | ||
|
||
ENV kyotoTycoonIncl -I/usr/include -DHAVE_KYOTO_TYCOON=1 -fpermissive | ||
ENV kyotoTycoonLib -L/usr/lib -Wl,-rpath,/usr/lib -lkyototycoon -lkyotocabinet -lz -lbz2 -lpthread -lm -lstdc++ | ||
RUN mkdir -p /home/cactus | ||
|
||
COPY . /home/cactus | ||
|
||
RUN cd /home/cactus && make deps | ||
RUN cd /home/cactus && make | ||
|
||
RUN mkdir /data | ||
WORKDIR /data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters