Docker cleanup. (#8226)

This commit is contained in:
Michaël Arnauts authored and Paulus Schoutsen committed 2017-06-30 08:07:33 -07:00
1 parent 96e1d5524a
commit a663dbada0
9 files changed
+45 -23

No files matched your search

@@ -6,6 +6,9 @@ set -e
apt-get install -y --no-install-recommends git autoconf automake libtool
cd /usr/src/app/
mkdir -p build && cd build
git clone --depth 1 --recursive -b dtls https://github.com/home-assistant/libcoap.git
cd libcoap
./autogen.sh
+1 -1
View File
@@ -12,7 +12,7 @@ PYTHON_LDLIBRARY=$(python -c 'from distutils import sysconfig; print(sysconfig.g
PYTHON_LIBRARY="${PYTHON_LIBDIR}/${PYTHON_LDLIBRARY}"
PYTHON_INCLUDE_DIR=$(python -c 'from distutils import sysconfig; print(sysconfig.get_python_inc())')
cd "$(dirname "$0")/.."
cd /usr/src/app/
mkdir -p build && cd build
if [ ! -d libcec ]; then
+5 -2
View File
@@ -11,11 +11,14 @@ PACKAGES=(
apt-get install -y --no-install-recommends ${PACKAGES[@]}
cd /usr/src/app/
mkdir -p build && cd build
# Clone the latest code from GitHub
git clone --depth 1 https://github.com/openalpr/openalpr.git /usr/local/src/openalpr
git clone --depth 1 https://github.com/openalpr/openalpr.git openalpr
# Setup the build directory
cd /usr/local/src/openalpr/src
cd openalpr/src/
mkdir -p build
cd build
+1 -1
View File
@@ -6,7 +6,7 @@ set -e
PHANTOMJS_VERSION="2.1.1"
cd "$(dirname "$0")/.."
cd /usr/src/app/
mkdir -p build && cd build
curl -LSO https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2
+9 -14
View File
@@ -10,20 +10,15 @@ PACKAGES=(
apt-get install -y --no-install-recommends ${PACKAGES[@]}
cd /usr/src/app/
mkdir -p build && cd build
# Clone the latest code from GitHub
git clone --depth 1 https://github.com/auerswal/ssocr.git /usr/local/src/ssocr
git clone --depth 1 https://github.com/auerswal/ssocr.git ssocr
cd ssocr/
# Build ssocr
(
# Setup the build directory
cd /usr/local/src/ssocr
# Compile the library
make
# compile the library
make
# Install the binaries/libraries to your local system (prefix is /usr/local)
make install
# Cleanup
make clean
)
# Install the binaries/libraries to your local system (prefix is /usr/local)
make install