Docker cleanup. (#8226)

This commit is contained in:
Michaël Arnauts
2017-06-30 17:07:33 +02:00
committed by Paulus Schoutsen
parent 96e1d5524a
commit a663dbada0
9 changed files with 45 additions and 23 deletions

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