Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 18035

Installing Firefox in Docker Python Image

$
0
0
FROM python:3.9.4-slim-busterENV DEBIAN_FRONTEND=noninteractiveRUN sudo apt update && apt install firefox -y -fRUN firefox --version || (echo "Error: Failed to install Firefox" && exit 1)

I was running the code build for my app and noticed that there is something wrong when the build exited and i go the error message :

E: Package 'firefox' has no installation candidateThe command '/bin/sh -c sudo apt update && apt install firefox -y -f' returned a non-zero code: 100


Viewing all articles
Browse latest Browse all 18035

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>