Skip to content

Commit

Permalink
Add a tester std-over-boost container
Browse files Browse the repository at this point in the history
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
sehe committed Feb 10, 2021
1 parent 8a2bc01 commit 7052c14
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 17 additions & 0 deletions containers/std-over-boost
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
2 changes: 0 additions & 2 deletions src/msghub.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#include "msghub.h"

#include <boost/system/detail/error_code.hpp>
#include <hub_error.h>
#include <utility>

#include "hubclient.h"
Expand Down

0 comments on commit 7052c14

Please sign in to comment.