2
0

Dockerfile 503 B

12345678910111213
  1. ARG BASE_IMAGE=signalwire/freeswitch-base:debian-10
  2. FROM ${BASE_IMAGE}
  3. RUN apt-get update && apt-get install -yq build-essential autotools-dev lsb-release pkg-config automake autoconf libtool-bin clang-tools-7
  4. RUN apt-get install -yq cmake uuid-dev libssl-dev
  5. RUN mkdir -p /sw/libks
  6. WORKDIR /sw/libks
  7. COPY . .
  8. RUN sed -i -e 's/GIT_FOUND AND GZIP_CMD AND DATE_CMD/WE_DO_NOT_WANT_A_DEBIAN_PACKAGE_THANK_YOU/' CMakeLists.txt && cmake . -DCMAKE_INSTALL_PREFIX=/usr -DWITH_LIBBACKTRACE=1 && make install