The beginning of this error is from creating and password based image in Azure environment. Below is the origin or this all. More info on this I just got to know we are using alpine based image.openjdk:8uX-alpine311
So I did googled a bit and found some package needs to be installed and to do that I need to execute below command.
RUN apt-get update; apt-get install -y fontconfig libfreetype6
which resulted me in
the command bin/sh sh returned a non zero code 127
After further analysis I found another solution to this is to run below query.
RUN apk add --update fontconfig libfreetype6
as result again came as
the command bin/sh sh returned a non zero code 2
I am wondering this is just some package installation on azure environment, what it takes every time change in command's. Any help appreciated, thanks in advance.