Open mathieucarbou opened 10 years ago
This is quiet a blocker for us... We are heavily using Java 8 and cannot easily move to Iron.io because of that. We would need to set:
runtime 'java' stack 'java-1.8'
For the moment, I've just successfuly tested this workaround:
worker file:
name 'my-code' runtime 'binary' exec 'bootstrap.sh' file 'target/my.jar.file.jar'
bootstrap.sh
#!/bin/sh pack="jre-8u5-linux-x64" jre="jre1.8.0_05" java=./${jre}/bin/java if [ ! -f $java ] then curl -s -O http://s3.amazonaws.com/<our-bucket-path>/${pack}.tar.gz tar xzf ${pack}.tar.gz fi $java -jar my.jar.file.jar $*
But this situation is not ideal since the Java 8 JRE is big and jobs take time to execute...
This is quiet a blocker for us... We are heavily using Java 8 and cannot easily move to Iron.io because of that. We would need to set:
For the moment, I've just successfuly tested this workaround:
worker file:
bootstrap.sh
But this situation is not ideal since the Java 8 JRE is big and jobs take time to execute...