oatpp-postgresql/Dockerfile
Leonid Stryzhevskyi fe7b1d525c
Ci (#1)
* Setup CI
2020-10-13 08:34:40 +03:00

26 lines
367 B
Docker

FROM lganzzzo/alpine-cmake:latest
RUN apk update
RUN apk add postgresql-dev
WORKDIR /module
COPY ./cmake cmake
COPY ./src src
COPY ./test test
COPY ./utility utility
COPY ./CMakeLists.txt CMakeLists.txt
WORKDIR /module/utility
RUN ./install-oatpp-modules.sh
WORKDIR /module/build
ARG PG_HOST=postgres
RUN cmake ..
RUN make
ENTRYPOINT ["./test/module-tests"]