Skip to content

Commit

Permalink
Improve build to output checksums
Browse files Browse the repository at this point in the history
  • Loading branch information
cs278 committed Oct 22, 2019
1 parent 13a4cc5 commit 4257c94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
/.gitignore
/.travis.yml
/Dockerfile
/SHA256SUMS
/timecop_*.so
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ RUN : \
&& scripts/compile 7.2 /dst \
&& scripts/compile 7.3 /dst \
&& make clean \
&& (cd /dst && sha256sum timecop_*.so > SHA256SUMS) \
&& cat /dst/SHA256SUMS \
&& ls -l /dst

CMD : \
&& cd /dst \
&& tar -cf - *.so | cat
&& tar -cf - *.so SHA256SUMS | cat

0 comments on commit 4257c94

Please sign in to comment.