toxcore/other/docker/windows/Dockerfile
iphydf 6cd4fcdec4
Remove libcheck from the dependencies.
We're not gaining much from this library, and it's a burden, especially
for windows development.
2018-02-09 20:51:39 +00:00

32 lines
741 B
Docker

FROM debian:stretch-slim
# Build-time enviroment variables
ARG VERSION_SODIUM=1.0.16
ARG VERSION_OPUS=v1.2.1
ARG VERSION_VPX=v1.6.1
ARG SUPPORT_TEST=false
ARG SUPPORT_ARCH_i686=true
ARG SUPPORT_ARCH_x86_64=true
# Make those available when running the container
ENV SUPPORT_TEST=${SUPPORT_TEST}
ENV SUPPORT_ARCH_i686=${SUPPORT_ARCH_i686}
ENV SUPPORT_ARCH_x86_64=${SUPPORT_ARCH_x86_64}
ADD get_packages.sh .
RUN sh ./get_packages.sh
ADD build_dependencies.sh .
RUN sh ./build_dependencies.sh
ADD build_toxcore.sh .
ENV ENABLE_TEST=false
ENV ALLOW_TEST_FAILURE=false
ENV ENABLE_ARCH_i686=true
ENV ENABLE_ARCH_x86_64=true
ENV EXTRA_CMAKE_FLAGS="-DWARNINGS=OFF -DBOOTSTRAP_DAEMON=OFF -DTEST_TIMEOUT_SECONDS=300"
CMD sh ./build_toxcore.sh