Closed kirillportfolio closed 2 years ago
I can't remember how I figured this out but it works for me after doing the following:
In the Dockerfile replace this line: openjdk-14-jre-headless \
with this line: default-jre \
Then I have in my shell history to do the following: sudo add-apt-repository ppa:openjdk-r/ppa sudo docker-compose build --no-cache sudo docker-compose up
Good luck. Let me know how it goes and maybe I have some links stored or notes and I can dig a little more.
sudo add-apt-repository ppa:openjdk-r/ppa
This step is not necessary, but thank you for details.
I've updated the Dockerfile
to use the default JRE as you suggested. So now docker should work again.
admink@LAPTOP-SEVML7S9:~/docker-drakonhub$ docker-compose up [+] Building 41.3s (6/39) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.83kB 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/ubuntu:20.04 11.8s => [ 1/36] FROM docker.io/library/ubuntu:20.04@sha256:626ffe58f6e7566e00254b638eb7e0f3b11d4da9675088f4781a50ae28 0.0s => [internal] load build context 0.1s => => transferring context: 96B 0.0s => ERROR [ 2/36] RUN apt-get update && apt-get install -y git tcl8.6 tk8.6 tcllib libsqlite3-tcl li 29.3s