Closed davidfrickert closed 2 years ago
hi @davidfrickert! thanks for heads up
fwiw i couldn't reproduce this locally:
$ docker run --rm -it findepi/graalvm:21.2.0-java11-native bash -c 'apt-get update && apt-get install -y libfreetype6-dev'
Get:1 http://security.debian.org/debian-security stable-security InRelease [44.1 kB]
Hit:2 http://deb.debian.org/debian stable InRelease
Get:3 http://deb.debian.org/debian stable-updates InRelease [39.4 kB]
Get:4 http://security.debian.org/debian-security stable-security/main amd64 Packages [48.0 kB]
Fetched 131 kB in 0s (282 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libbrotli-dev libfreetype-dev libpng-dev libpng-tools
Suggested packages:
freetype2-doc
The following NEW packages will be installed:
libbrotli-dev libfreetype-dev libfreetype6-dev libpng-dev libpng-tools
0 upgraded, 5 newly installed, 0 to remove and 12 not upgraded.
Need to get 1381 kB of archives.
After this operation, 4110 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stable/main amd64 libbrotli-dev amd64 1.0.9-2+b2 [288 kB]
Get:2 http://deb.debian.org/debian stable/main amd64 libpng-dev amd64 1.6.37-3 [298 kB]
Get:3 http://deb.debian.org/debian stable/main amd64 libfreetype-dev amd64 2.10.4+dfsg-1 [571 kB]
Get:4 http://deb.debian.org/debian stable/main amd64 libfreetype6-dev amd64 2.10.4+dfsg-1 [82.4 kB]
Get:5 http://deb.debian.org/debian stable/main amd64 libpng-tools amd64 1.6.37-3 [141 kB]
Fetched 1381 kB in 0s (4187 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libbrotli-dev:amd64.
(Reading database ... 13180 files and directories currently installed.)
Preparing to unpack .../libbrotli-dev_1.0.9-2+b2_amd64.deb ...
Unpacking libbrotli-dev:amd64 (1.0.9-2+b2) ...
Selecting previously unselected package libpng-dev:amd64.
Preparing to unpack .../libpng-dev_1.6.37-3_amd64.deb ...
Unpacking libpng-dev:amd64 (1.6.37-3) ...
Selecting previously unselected package libfreetype-dev:amd64.
Preparing to unpack .../libfreetype-dev_2.10.4+dfsg-1_amd64.deb ...
Unpacking libfreetype-dev:amd64 (2.10.4+dfsg-1) ...
Selecting previously unselected package libfreetype6-dev:amd64.
Preparing to unpack .../libfreetype6-dev_2.10.4+dfsg-1_amd64.deb ...
Unpacking libfreetype6-dev:amd64 (2.10.4+dfsg-1) ...
Selecting previously unselected package libpng-tools.
Preparing to unpack .../libpng-tools_1.6.37-3_amd64.deb ...
Unpacking libpng-tools (1.6.37-3) ...
Setting up libpng-tools (1.6.37-3) ...
Setting up libpng-dev:amd64 (1.6.37-3) ...
Setting up libbrotli-dev:amd64 (1.0.9-2+b2) ...
Setting up libfreetype-dev:amd64 (2.10.4+dfsg-1) ...
Setting up libfreetype6-dev:amd64 (2.10.4+dfsg-1) ...
I noticed that you're using findepi/graalvm:java11-native
. as you probably know, this tag doesn't describe exact image version (it's updated with every version bump), so it may be you're using a different base than I was testing out above.
Can you try the following?
docker build
with --pull
, to use the latest image version currently available in docker hubfindepi/graalvm:21.2.0-java11-native
instead of findepi/graalvm:java11-native
.Let me know if this changes anything.
hey @findepi
yeah the --pull
fixed it! I thought docker would fetch the newer image if it existed but seems like not!
Hey, just letting you know, I was trying to build a docker image from
findepi/graalvm:java11-native
and got this error:Never seen anything like this but I assume the base image you used is now kinda dead?
I got a workaround tho for it, seems to be working: