Running `make build` gives throws error.
Closed this issue · 3 comments
prameshbajra commented
Running make build
throws this error.
Mind checking out on this?
Get:21 http://archive.ubuntu.com trusty/universe Sources [7926 kB]
Get:22 http://archive.ubuntu.com trusty/main amd64 Packages [1743 kB]
Get:23 http://archive.ubuntu.com trusty/restricted amd64 Packages [16.0 kB]
Get:24 http://archive.ubuntu.com trusty/universe amd64 Packages [7589 kB]
Fetched 23.6 MB in 1min 9s (337 kB/s)
Reading package lists...
Removing intermediate container acc42668fe8e
---> b49b7c4f1615
Step 4/7 : RUN echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections && echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
---> Running in 45d0bc7a5b9a
Removing intermediate container 45d0bc7a5b9a
---> 1e39f9478879
Step 5/7 : RUN apt-get install -y oracle-java8-installer
---> Running in fb35a9dac18c
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package oracle-java8-installer
The command '/bin/sh -c apt-get install -y oracle-java8-installer' returned a non-zero code: 100
make: *** [build] Error 100
Do I have to edit the dockerfile?
Please help!
siavash9000 commented
I checked the Dockerfile, somehow the oracle repo does not work anymore. I did not investigate why and switched instead to Open-Jdk. Please pull and try again. It should work now.
siavash9000 commented
I close this issue. Reopen or open a new issue if other errors occure.
prameshbajra commented
Thanks for the quick fix.