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 build a docker container locally with the command:
docker build .
unfortunately I am getting the error when it is attempting to install the dependencies:
Setting up notification-daemon (3.20.0-4) ...
Processing triggers for libc-bin (2.31-13+deb11u3) ...
Processing triggers for libgdk-pixbuf-2.0-0:amd64 (2.42.2+dfsg-1) ...
Errors were encountered while processing:
gconf2-common
gconf-service
libgconf-2-4:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
The command '/bin/sh -c apt-get install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb g++ make' returned a non-zero code: 100
Has anyone seen this before? I didn't make any changes to the dockerFile. I am able to pull docker just fine and run it but I would like to be able to build locally if possible. Thank you so much.
The text was updated successfully, but these errors were encountered:
Small update, the issue appears to be in the newer version of debian as if I remove the "upgrade" command from the docker file then it works fine. Seems to be some sort of issue when installing packages after performing an upgrade.
Temp fix:
Change: RUN apt-get update && apt-get upgrade -y
To: RUN apt-get update -y
Obviously not a great long term solution. Will let you know if I come up with something better.
Hi @mornindew , just tried building this on my local now. The apt install step did fail once with an error different from yours (it seemed to be related to just failing to download a package), but re running the build without any changes worked the next time.
Could you pls confirm if re running the build (with apt upgrade step) still fails with the exact same error ? This might help narrow down on the cause.
Hi,
I am trying to build a docker container locally with the command:
docker build .
unfortunately I am getting the error when it is attempting to install the dependencies:
Has anyone seen this before? I didn't make any changes to the dockerFile. I am able to pull docker just fine and run it but I would like to be able to build locally if possible. Thank you so much.
The text was updated successfully, but these errors were encountered: