Dockerfile.travis 505 B

12345678910111213141516171819202122
  1. FROM ubuntu:xenial
  2. ENV DEBIAN_FRONTEND=noninteractive
  3. ENV LC_ALL=C.UTF-8
  4. ENV NO_INTERACTION=1
  5. ENV REPORT_EXIT_STATUS=1
  6. RUN apt-get update -q
  7. RUN apt-get install -y software-properties-common
  8. RUN add-apt-repository ppa:ondrej/php
  9. RUN add-apt-repository ppa:stesie/libv8 -y
  10. RUN apt-get update -q
  11. RUN apt-get install -y php$PHPVER-dev libv8-$V8VER-dev
  12. ADD . /app
  13. WORKDIR /app
  14. RUN phpize
  15. RUN ./configure CXXFLAGS="-Wall -Wno-write-strings" LDFLAGS="-lstdc++" --with-v8js=/opt/libv8-$V8VER/
  16. RUN make -j4