Semantic update service running on ARM v7
https://www.docker.com/blog/getting-started-with-docker-for-arm-on-linux/
Required
NEXUS_USER=<username for jar repository>
NEXUS_PW=<password for jar repository>
POM_GROUP_ID= eg no/entra/bacnet
POM_ARTIFACT_ID=eg bacnet-commands-cli
Optional
TRACE=1 # Enable logging of semantic update scripts
java -jar $POM_ARTIFACT_ID.jar
Any extra environment variables will be acceccible to the jar.
eg
docker run -t -d --name=$IMAGE_NAME -eLOG_LEVEL=INFO baardl/java-semantic-pi4
- docker/build.sh
- docker/run.sh <nexus_user> <nexus_pw> <group_id> <artifcact_id>
- Java Environment with -D
eg:
java -DlogLevel=INFO -jar jarName.jar
- Properties files are not supported
eg config_override.properties
- docker/build.sh
- docker/run.sh <nexus_user> <nexus_pw> <group_id> <artifcact_id>
- docker/attach.sh
Check cron log
docker exec -ti java-semantic-pi4 tail -f /var/log/cron.log
- Add your ssh public key to RPI4
ssh-copy-id username@remote_host
- Push changes to RPI4 run ./pushToRaspberry.sh