-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a tester std-over-boost container
Based on ubuntu 20.04 Usage: docker build . -f containers/std-over-boost -t msghub:tester docker run --rm -ti msghub:tester
- Loading branch information
Showing
2 changed files
with
17 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM ubuntu:20.04 | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN \ | ||
apt update; \ | ||
apt -qqyy install build-essential git cmake libboost-all-dev | ||
|
||
|
||
# Calls for a random number to break the cahing of the git clone | ||
# (https://stackoverflow.com/questions/35134713/disable-cache-for-specific-run-commands/58801213#58801213) | ||
ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" /tmp/skipcache | ||
RUN git clone https://github.com/sehe/msghub --depth 1 -b std-over-boost | ||
|
||
WORKDIR /msghub | ||
|
||
RUN cmake . && make | ||
|
||
CMD ./test/tester -l all |
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