Debian Codegraph @

LspCpp/third_party/ixwebsocket/docker/Dockerfile.ubuntu_precise

raw
1 # Build time
2 FROM ubuntu:precise as build
3
4 ENV DEBIAN_FRONTEND noninteractive
5 RUN apt-get update
6 RUN apt-get -y install wget
7 RUN mkdir -p /tmp/cmake
8 WORKDIR /tmp/cmake
9 RUN wget --no-check-certificate https://github.com/Kitware/CMake/releases/download/v3.14.0/cmake-3.14.0-Linux-x86_64.tar.gz
10 RUN tar zxf cmake-3.14.0-Linux-x86_64.tar.gz
11
12 RUN apt-get -y install g++
13 RUN apt-get -y install libssl-dev
14 RUN apt-get -y install libz-dev
15 RUN apt-get -y install make
16 RUN apt-get -y install python
17 RUN apt-get -y install git
18
19 COPY . .
20
21 ARG CMAKE_BIN_PATH=/tmp/cmake/cmake-3.14.0-Linux-x86_64/bin
22 ENV PATH="${CMAKE_BIN_PATH}:${PATH}"
23
24 RUN ["make", "ws_no_python"]
25
26 ENTRYPOINT ["ws"]
27 CMD ["--help"]