Skip to content

Commit 9a3f7ff

Browse files
committed
Merge pull request #552 from aoblet/docker
Docker image size improvements
2 parents 58a6be8 + 4f4b749 commit 9a3f7ff

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

tools/travis/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fi
1919

2020
# Build tuttle
2121
cmake --version
22-
cmake ${TUTTLEOFX_DEV} -DCMAKE_INSTALL_PREFIX=${TUTTLEOFX_INSTALL} -DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH -DTUTTLE_EXPERIMENTAL=True -DWITHOUT_NUMPY=True -DTUTTLE_DEPLOY_DEPENDENCIES=True -DTUTTLE_PYTHON_VERSION=${PYTHON_VERSION}
22+
cmake ${TUTTLEOFX_DEV} -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=${TUTTLEOFX_INSTALL} -DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH -DTUTTLE_EXPERIMENTAL=True -DWITHOUT_NUMPY=True -DTUTTLE_DEPLOY_DEPENDENCIES=True -DTUTTLE_PYTHON_VERSION=${PYTHON_VERSION}
2323
make -k
24-
make install
24+
make install/strip
2525
cd ..

tools/travis/install_dependencies.sh

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,43 +41,43 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
4141
./configure --prefix=${DEPENDENCIES_INSTALL} --enable-shared --disable-static --disable-yasm && make && make install
4242

4343
cd $TRAVIS_BUILD_DIR
44-
wget https://github.com/ampas/aces_container/archive/v1.0.tar.gz -O /tmp/$ACES_RELEASE.tar.gz
45-
tar -xzf /tmp/$ACES_RELEASE.tar.gz > /dev/null 2>&1
44+
wget https://github.com/ampas/aces_container/archive/v1.0.tar.gz -O $ACES_RELEASE.tar.gz
45+
tar -xzf $ACES_RELEASE.tar.gz > /dev/null 2>&1
4646
mkdir $ACES_RELEASE/build
4747
cd $ACES_RELEASE/build
4848
cmake .. -DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_INSTALL} && make && make install
4949

5050
cd $TRAVIS_BUILD_DIR
51-
wget https://github.com/ampas/CTL/archive/$CTL_RELEASE.tar.gz -O /tmp/$CTL_RELEASE.tar.gz
52-
tar -xzf /tmp/$CTL_RELEASE.tar.gz > /dev/null 2>&1
51+
wget https://github.com/ampas/CTL/archive/$CTL_RELEASE.tar.gz -O $CTL_RELEASE.tar.gz
52+
tar -xzf $CTL_RELEASE.tar.gz > /dev/null 2>&1
5353
mkdir CTL-$CTL_RELEASE/build
5454
cd CTL-$CTL_RELEASE/build
5555
cmake .. -DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_INSTALL} && make && make install
5656

5757
cd $TRAVIS_BUILD_DIR
58-
wget https://github.com/wdas/SeExpr/archive/rel-$SEEXPR_VERSION.tar.gz -O /tmp/$SEEXPR_RELEASE.tar.gz
59-
tar -xzf /tmp/$SEEXPR_RELEASE.tar.gz > /dev/null 2>&1
58+
wget https://github.com/wdas/SeExpr/archive/rel-$SEEXPR_VERSION.tar.gz -O $SEEXPR_RELEASE.tar.gz
59+
tar -xzf $SEEXPR_RELEASE.tar.gz > /dev/null 2>&1
6060
mkdir $SEEXPR_RELEASE/build
6161
cd $SEEXPR_RELEASE/build
6262
cmake .. -DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_INSTALL} && make && make install
6363

6464
cd $TRAVIS_BUILD_DIR
65-
wget https://github.com/imageworks/OpenColorIO/archive/v$OCIO_VERSION.tar.gz -O /tmp/$OCIO_RELEASE.tar.gz
66-
tar -xzf /tmp/$OCIO_RELEASE.tar.gz > /dev/null 2>&1
65+
wget https://github.com/imageworks/OpenColorIO/archive/v$OCIO_VERSION.tar.gz -O $OCIO_RELEASE.tar.gz
66+
tar -xzf $OCIO_RELEASE.tar.gz > /dev/null 2>&1
6767
mkdir $OCIO_RELEASE/build
6868
cd $OCIO_RELEASE/build
6969
cmake .. -DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_INSTALL} && make && make install
7070

7171
cd $TRAVIS_BUILD_DIR
72-
wget https://github.com/LibRaw/LibRaw/archive/$LIBRAW_VERSION.tar.gz -O /tmp/$LIBRAW_RELEASE.tar.gz
73-
tar -xzf /tmp/$LIBRAW_RELEASE.tar.gz > /dev/null 2>&1
72+
wget https://github.com/LibRaw/LibRaw/archive/$LIBRAW_VERSION.tar.gz -O $LIBRAW_RELEASE.tar.gz
73+
tar -xzf $LIBRAW_RELEASE.tar.gz > /dev/null 2>&1
7474
mkdir $LIBRAW_RELEASE/build
7575
cd $LIBRAW_RELEASE/build
7676
./configure --prefix=${DEPENDENCIES_INSTALL} && make && make install
7777

7878
cd $TRAVIS_BUILD_DIR
79-
wget https://github.com/OpenImageIO/oiio/archive/Release-$OIIO_VERSION.tar.gz -O /tmp/$OIIO_RELEASE.tar.gz
80-
tar -xzf /tmp/$OIIO_RELEASE.tar.gz > /dev/null 2>&1
79+
wget https://github.com/OpenImageIO/oiio/archive/Release-$OIIO_VERSION.tar.gz -O $OIIO_RELEASE.tar.gz
80+
tar -xzf $OIIO_RELEASE.tar.gz > /dev/null 2>&1
8181
mkdir $OIIO_RELEASE/build
8282
cd $OIIO_RELEASE/build
8383
cmake .. -DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_INSTALL} -DCMAKE_PREFIX_PATH=${DEPENDENCIES_INSTALL} -DCMAKE_CXX_FLAGS="-D__STDC_CONSTANT_MACROS" && make && make install

0 commit comments

Comments
 (0)