mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-04 20:12:41 +08:00
Collapsed a few layers in the Dockerfile
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -21,13 +21,9 @@ run mkdir /srv/openalpr/src/build
|
||||
workdir /srv/openalpr/src/build
|
||||
|
||||
# Setup the compile environment
|
||||
run cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc ..
|
||||
|
||||
# Compile the library
|
||||
run make
|
||||
|
||||
# Install the binaries/libraries to your local system (prefix is /usr)
|
||||
run make install
|
||||
run cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc .. && \
|
||||
make -j2 && \
|
||||
make install
|
||||
|
||||
workdir /data
|
||||
|
||||
|
Reference in New Issue
Block a user