Rollback cmake call

This commit is contained in:
Alex Root Junior 2021-12-14 13:20:24 +02:00
parent 8e81f493d1
commit d76da0bef8

View File

@ -8,7 +8,7 @@ COPY telegram-bot-api /usr/src/telegram-bot-api
RUN mkdir -p build \
&& cd build \
&& cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=.. .. \
&& cmake --build . --target install -j $(($(nproc) + 2)) \
&& cmake --build . --target install -j $(nproc) \
&& strip /usr/src/telegram-bot-api/bin/telegram-bot-api
FROM alpine:3.12