FROM lganzzzo/ubuntu-cmake #--------------------------------------------------------------- # install oatpp WORKDIR /test RUN git clone https://github.com/oatpp/oatpp WORKDIR /test/oatpp RUN git checkout c178ab488e01ee42fdd0cc1cee3cca424e585169 WORKDIR /test/oatpp/build RUN cmake -DOATPP_DISABLE_ENV_OBJECT_COUNTERS=ON -DOATPP_DISABLE_POOL_ALLOCATIONS=ON -DCMAKE_BUILD_TYPE=Release -DOATPP_BUILD_TESTS=OFF .. RUN make install #--------------------------------------------------------------- # build test app ADD src-async /test/src-async WORKDIR /test/src-async/build RUN cmake -DCMAKE_BUILD_TYPE=Release .. RUN make EXPOSE 8000 8000 CMD ./oatpp-async-test