I have this simple docker file:
FROM ubuntu:eoan ENV DEBIAN_FRONTEND=noninteractive RUN apt update && apt install -y \ chromium-browser \ chromium-chromedriver
When I try to build it:
... Preparing to unpack .../00-chromium-browser_77.0.3865.120-0ubuntu1.19.10.1_amd64.deb ... => Installing the chromium snap ==> Checking connectivity with the snap store ===> Unable to contact the store, trying every minute for the next 30 minutes
And it seems that it never reaches the said snap store. It works fine if the image is based on disco
instead of eoan
. It works fine on a physical machine.
To install Chromium on Ubuntu 18.04 LTS and above, just open the Ubuntu Software tool and search for 'Chromium'. Click on the app listing then the install button. From here just hit “install”, enter your password (if prompted) and that's pretty much it — hey: I did say it was easy!
Launch from KDE Start Menu: Internet -> Chromium Docker, and after a terminal window flashes on screen and a few seconds pass, Docker will launch with Chromium Media Edition within it.
Chromium has been installed on your Ubuntu desktop, and you can start using it. Whenever a new version is released, the Chromium snap package will be automatically updated in the background. If you are not comfortable with the command line, open Ubuntu Software, search for “Chromium” and install the application.
It's not a solution, it's a workaround. Just use google-chrome
instead. I faced with this issue when suddenly in one day that docker image that always was building become broken. My case was like your: ubuntu 19.10 as a base for docker image.
RUN curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb RUN apt-get install -y ./google-chrome-stable_current_amd64.deb RUN rm google-chrome-stable_current_amd64.deb
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With