Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dependencies #309

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

furkanozbay
Copy link
Contributor

@furkanozbay furkanozbay commented May 2, 2019

refactor: update Java 8 and Zookeeper installation

Description

What Changed?
Update dependencies for Java and Zookeeper. Since webupd8team discontinued the ppa repo for Java 8
java installation cannot be done. Also Zookeeper url is not valid because of provider changes

Tests

Coverage?

N/A

Links

N/A

Checklist

  • Code Review
  • Squash Commits

People To Reivew

[Add those who should review this]

refactor: update Java 8 and Zookeeper installation
@asfgit
Copy link

asfgit commented May 2, 2019

Can one of the admins verify this patch?

@furkanozbay
Copy link
Contributor Author

yes

echo "Setting up environment..."
export JAVA_HOME=/usr/lib/jvm/java-8-oracle
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

java-7 ? Should this be 8 ?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this sort of works because tomcat7 depends on java-7, so it gets auto installed. The jdk-8 install fails as it is not in the PPA for Ubuntu 14.04.

sudo -E apt-get -qq install -y oracle-java8-installer || exit $?
sudo ln --force -s /usr/lib/jvm/java-8-oracle/ /usr/lib/jvm/default-java

sudo -E apt-get install openjdk-8-jre
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jdk v8 is not officially supported on the version of ubuntu used by this image:
https://askubuntu.com/questions/464755/how-to-install-openjdk-8-on-14-04-lts/944260#944260
Looking for input on this. I think we should use a newer Ubuntu LTS version. I am trying "bento/ubuntu-18.04"

@DLotts
Copy link

DLotts commented Oct 9, 2020 via email

@furkanozbay
Copy link
Contributor Author

I am definitely going to check that as soon as possible when I have time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants