Remove a bunch of things that I don't think we need

This commit is contained in:
Abdelrahman Mahmoud 2018-02-23 12:44:10 -05:00
parent c5398fd473
commit 15bb566636
3 changed files with 8 additions and 12 deletions

View File

@ -1,9 +1,6 @@
dist: trusty
sudo: required
language: ruby
services:
- docker
language: ruby
before_install:
- docker build --file=docker/Dockerfile-Ubuntu --tag=v4.0.0:affdex .
- docker run v4.0.0:affdex
- docker build --file=docker/Dockerfile-Ubuntu --tag=v4.0.0:affdex

View File

@ -39,7 +39,7 @@ RUN git clone https://github.com/Affectiva/cpp-sdk-samples.git $SRC_DIR/sdk-samp
#### CMAKE ####
WORKDIR $SRC_DIR
RUN wget https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz \
&& tar -xvf cmake-3.8.1.tar.gz && rm cmake-3.8.1.tar.gz
&& tar -xf cmake-3.8.1.tar.gz && rm cmake-3.8.1.tar.gz
RUN cd $SRC_DIR/cmake-3.8.1/ && \
./bootstrap --system-curl && \
make -j$(nproc) && \
@ -49,7 +49,7 @@ RUN cd $SRC_DIR/cmake-3.8.1/ && \
#### BOOST ####
WORKDIR $SRC_DIR
RUN wget https://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.tar.gz --no-check-certificate && \
tar -xvf boost_1_63_0.tar.gz && \
tar -xf boost_1_63_0.tar.gz && \
rm boost_1_63_0.tar.gz && \
cd $SRC_DIR/boost_1_63_0 && \
./bootstrap.sh &&\

View File

@ -39,17 +39,16 @@ RUN git clone https://github.com/Affectiva/cpp-sdk-samples.git $SRC_DIR/sdk-samp
#### CMAKE ####
WORKDIR $SRC_DIR
RUN wget https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz \
&& tar -xvf cmake-3.8.1.tar.gz && rm cmake-3.8.1.tar.gz
&& tar -xf cmake-3.8.1.tar.gz && rm cmake-3.8.1.tar.gz
RUN cd $SRC_DIR/cmake-3.8.1/ && \
./bootstrap --system-curl && \
make -j$(nproc) && \
make install && \
make -j$(nproc) install > /dev/null && \
rm -rf $SRC_DIR/cmake-3.8.1
#### BOOST ####
WORKDIR $SRC_DIR
RUN wget https://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.tar.gz --no-check-certificate && \
tar -xvf boost_1_63_0.tar.gz && \
tar -xf boost_1_63_0.tar.gz && \
rm boost_1_63_0.tar.gz && \
cd $SRC_DIR/boost_1_63_0 && \
./bootstrap.sh &&\
@ -71,7 +70,7 @@ RUN wget https://download.affectiva.com/linux/gcc-5.4/affdex-cpp-sdk-4.0-75-ubun
RUN mkdir -p $BUILD_DIR &&\
cd $BUILD_DIR &&\
cmake -DOpenCV_DIR=/usr/ -DBOOST_ROOT=/usr/ -DAFFDEX_DIR=$SRC_DIR/affdex-sdk $SRC_DIR/sdk-samples &&\
make -j$(nproc)
make -j$(nproc) > /dev/null
## CREATE THE ARTIFACT
WORKDIR $ARTIFACT_DIR