mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-05 12:56:51 +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
|
workdir /srv/openalpr/src/build
|
||||||
|
|
||||||
# Setup the compile environment
|
# Setup the compile environment
|
||||||
run cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc ..
|
run cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc .. && \
|
||||||
|
make -j2 && \
|
||||||
# Compile the library
|
make install
|
||||||
run make
|
|
||||||
|
|
||||||
# Install the binaries/libraries to your local system (prefix is /usr)
|
|
||||||
run make install
|
|
||||||
|
|
||||||
workdir /data
|
workdir /data
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user