Skip to content

Commit

Permalink
Dockerfile for the CI image added (#17).
Browse files Browse the repository at this point in the history
  • Loading branch information
offa committed Dec 15, 2017
1 parent 7d0bab3 commit 01b0f4d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
@@ -0,0 +1,13 @@
ARG COMPILER

FROM registry.gitlab.com/offa/docker-images/${COMPILER}:stable

RUN apt-get install -y --no-install-recommends openssl libssl-dev && \
mkdir deps && cd deps && \
git clone --depth=1 https://github.com/cpputest/cpputest.git cpputest && \
cd cpputest && mkdir _build && cd _build && \
case ${CXX} in clang* ) export CXXFLAGS="-stdlib=libc++"; esac; \
cmake -DC++11=ON -DTESTS=OFF .. && make && make install && \
cd ../.. && \
cd .. && rm -rf deps

0 comments on commit 01b0f4d

Please sign in to comment.