Not able to build image
promehul opened this issue · comments
Describe the bug
When I try to build app image using docker-compose build
, the build fails with error E: Package 'oracle-java8-installer' has no installation candidate
ERROR: Service 'app' failed to build: The command '/bin/sh -c apt-get install -y --no-install-recommends oracle-java8-installer' returned a non-zero code: 100
To Reproduce
Steps to reproduce the behavior:
- docker-compose build
@achillesrasquinha seems a pretty serious issue to me. Should we use openjdk:8-jre-alpine
image for java or directly install it in our Dockerfile?
Or should we shift to java11?
Found a way to do it and I have it running. This was the only way I could found