summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 9e37311a38c4087e5092f83b4261f12cb899e336 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM debian:latest
MAINTAINER Oleg Morozenkov

RUN apt-get -qq update && \
	apt-get -qq install -y g++ make binutils cmake libssl-dev libboost-system-dev libboost-iostreams-dev libboost-test-dev

WORKDIR /tmp/tgbot-cpp
COPY include include
COPY src src
COPY CMakeLists.txt ./
RUN \
	cmake . && \
	make -j4 && \
	make install  && \
	rm -rf /tmp/tgbot-cpp