Automation: cannot build image based on openjdk:11

Hi,

I've very strange issue. I'm trying to build a pretty simple container in automation job:

job("Build test container") {
docker {
build {
context = "."
file = "./deploy/automation/Dockerfile"
}
push("mycompanyname.registry.jetbrains.space/p/xxx/xxx-containers/test")
}
}

Dockerfile is very simple:

FROM openjdk:11

RUN apt-get update
RUN apt-get install -yq imagemagick

That image has been built locally fine but then I ran it as automation job, I got following error:

[16:26:00] Setting up libpaper1:amd64 (1.1.28) ...
[16:26:00] debconf: unable to initialize frontend: Dialog
[16:26:00] debconf: (TERM is not set, so the dialog frontend is not usable.)
[16:26:00] debconf: falling back to frontend: Readline
[16:26:00] readlink: unrecognized option: m
[16:26:00] BusyBox v1.31.1 () multi-call binary.
[16:26:00]
[16:26:00] Usage: readlink [-fnv] FILE
[16:26:00]
[16:26:00] Display the value of a symlink
[16:26:00]
[16:26:00] -f Canonicalize by following all symlinks
[16:26:00] -n Don't add newline
[16:26:00] -v Verbose
[16:26:00] ucf: Unable to determine The new file
[16:26:00] dpkg: error processing package libpaper1:amd64 (--configure):

The only issue I can imagine - openjdk:11 in FROM instruction on my pc (I assume got from hub.docker.com) is not same as openjdk:11 inside automation job. 
Any other thoughts ?

0

Please sign in to leave a comment.