Skip to content
Advertisement

Docker fails with Sub-process /usr/bin/dpkg returned an error code (1)

Im having issues trying to install JRE into my docker container.

I keep getting the error message;

JavaScript

If I scroll up the build output a bit, I also see the following issues;

JavaScript

My Dockerfile is very simple, but it just wont work

JavaScript

It looks to be using debian buster, any help getting this to work would be greatly appreciated. I’ve been trying for days.

Advertisement

Answer

jre installation require man folder to exist on the server, try this:

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement