9 lines
600 B
Docker
9 lines
600 B
Docker
FROM ubuntu:focal-20240530
|
|
ENV DEBIAN_FRONTEND="noninteractive" TZ="Europe/Moscow"
|
|
WORKDIR /app
|
|
RUN apt update && apt install git cmake fmtools python3-venv postgresql libpq-dev libev-dev libyaml-cpp-dev lld openssl libboost-all-dev gcc g++ postgresql pkg-config build-essential libboost-system-dev libboost-thread-dev libboost-program-options-dev libboost-test-dev libboost-filesystem-dev -y
|
|
RUN apt install libssl-dev openssl libcrypto++-dev libhttp-parser-dev libnghttp2-dev -y
|
|
COPY ./ /app/
|
|
RUN git submodule init && git submodule update
|
|
RUN cmake --build /app/ -j 4 -DCMAKE_BUILD_TYPE=Release
|