You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
444 B
11 lines
444 B
#!/bin/bash
|
|
|
|
ln -s /AIDetectorJava/config.json /config.json || true && ln -s /AIDetectorJava/model /model || true
|
|
|
|
apt-get update && apt-get install -y ca-certificates wget
|
|
|
|
tar -xzvf /host-device-information/jdk-8u411-linux-x64.tar.gz && mv jdk1.8.0_411/ /usr/local/jdk1.8.0_411 && chmod +x /usr/local/jdk1.8.0_411/bin/java
|
|
|
|
apt-get install --no-install-recommends -y ca-certificates libc6
|
|
|
|
java -jar -XX:+HeapDumpOnOutOfMemoryError /app.jar
|