Install Java8.

This commit is contained in:
Kazuhiro MUSASHI 2019-08-10 18:59:16 +08:00
parent 71d85d760b
commit 755fd9631f
1 changed files with 5 additions and 1 deletions

View File

@ -26,8 +26,12 @@ link '/usr/local/bin/digdag' do
end
# Install the Java Runtime:
%w(nkf default-jre).each do |p|
%w(nkf openjdk-8-jdk).each do |p|
package p do
action :install
end
end
execute 'update-java-alternatives -s java-1.8.0-openjdk-amd64' do
user 'root'
end