You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you note, there is a /usr/bin/perl, that is provided by the base image that docker-perl is uses (buildpack-deps for the regular variant, debian:slim for :slim.) This is needed for things like apt to work properly, and we cannot use the /usr/local/bin/perl that we provide here for this case (as they have totally different properties, like a different @INC and even compilation options,) hence we retain /usr/bin/perl.
At least perl:5.30-slim has 2 different perl binaries:
/usr/bin/perl
and/usr/local/bin/perl
This is quite confusing.
/usr/bin/perl
should be deleted or symlinked to/usr/local/bin/perl
to reduce the image size as well.The text was updated successfully, but these errors were encountered: