mirror of
				https://github.com/home-assistant/core.git
				synced 2025-10-31 14:39:27 +00:00 
			
		
		
		
	Docker cleanup. (#8226)
This commit is contained in:
		 Michaël Arnauts
					Michaël Arnauts
				
			
				
					committed by
					
						 Paulus Schoutsen
						Paulus Schoutsen
					
				
			
			
				
	
			
			
			 Paulus Schoutsen
						Paulus Schoutsen
					
				
			
						parent
						
							96e1d5524a
						
					
				
				
					commit
					a663dbada0
				
			| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
		Reference in New Issue
	
	Block a user