The Dockerfile in this repo creates the base docker image for running scrapers in morph.
It's basically something very similar to the cedar platform on Heroku, with a script with a few extra libraries installed that we want to use.
So, if you need an extra system library installed in Morph.io for the scraper to use this is the likely repo that you will need to modify.
After updating this repo:
docker pull openaustralia/buildstepThis repository also contains the CA certificate that gets installed into morph.io containers so that the transparent mitmproxy works. It expires every few years and needs to be updated, to do this:
iptables-morph-remove on the server to do thismitmproxy on your machine, this will create a set of certificates in ~/.mitmproxymitmproxy-ca-cert.pem in that directory (Use openssl x509 -in mitmproxy-ca-cert.pem -text -noout)- it should be a few years offmitmproxy-ca-cert.pem file in this repository with the one from your machine~/.mitmproxy to that repository. Push your changes to GitHub and deploy morph.ioiptables-morph-addAnnoyingly we can't just use a certificate that expires a long time in the future (say 10 years). See https://github.com/mitmproxy/mitmproxy/issues/815
Content type
Image
Digest
sha256:c8d2280bd…
Size
695.1 MB
Last updated
about 4 years ago
docker pull openaustralia/buildstep