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

+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