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
i am trying to create a docker image of .net core + React Project. When we are trying to create a docker image using below command:
Command: docker build -t webapplication:v48 .
We are getting below error:
=> ERROR [base 7/8] RUN apt-get install -y nodejs 2.2s
[base 7/8] RUN apt-get install -y nodejs: #11 0.515 Reading package lists... #11 1.818 Building dependency tree... #11 1.995 Reading state information... #11 2.066 Some packages could not be installed. This may mean that you have #11 2.066 requested an impossible situation or if you are using the unstable #11 2.066 distribution that some required packages have not yet been created #11 2.066 or been moved out of Incoming. #11 2.066 The following information may help to resolve the situation: #11 2.066 #11 2.066 The following packages have unmet dependencies: #11 2.160 nodejs : Depends: libc6 (>= 2.28) but 2.24-11+deb9u4 is to be installed #11 2.183 E: Unable to correct problems, you have held broken packages.
i am trying to create a docker image of .net core + React Project. When we are trying to create a docker image using below command:
Command: docker build -t webapplication:v48 .
We are getting below error:
=> ERROR [base 7/8] RUN apt-get install -y nodejs 2.2s
executor failed running [/bin/sh -c apt-get install -y nodejs]: exit code: 100
we have node js version v18.15.0 installed.
The text was updated successfully, but these errors were encountered: