Install elasticsearch with Dockerfile

I followed the tutorial to create a Dockerfile and install elasticsearch on Heroku, but when I deploy I get the message from error:

Unable to locate package oracle-java8-installer
The command '/bin/sh -c apt-get install --no-install-recommends -y oracle-java8-installer' returned a non-zero code: 100

I understand that you are probably having trouble installing java 8, but I have already researched it and have not figured out how to do it in a way that works. Anyone who has ever gone through this and / or know how to solve this problem could give me some help?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.