I have an application which needs to use a headed browser periodically.
I want to Host it using Dokku.
How can I install this into my DO container?
When I run:
dokku run MY_APP apt-get install firefox
I get: E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/libsystemd-daemon0_204-5ubuntu20.9_amd64.deb 404 Not Found [IP: 91.189.91.15 80] . . . E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/ubufox/xul-ext-ubufox_2.9-0ubuntu0.14.04.1_all.deb 404 Not Found [IP: 91.189.91.15 80]
After which running:
dokku run MY_APP firefox
returns: FATA[0000] Error response from daemon: Cannot start container ... exec: "firefox": executable file not found in $PATH
I am aware that PhatomJS is a better solution but some third party gem I am using are dependant on a headed firefox browser.