EFForg / badger-sett

Automated training for Privacy Badger. Badger Sett automates browsers to visit websites to produce fresh Privacy Badger tracker data.
https://www.eff.org/badger-pretraining
MIT License
119 stars 13 forks source link

Pull latest selenium image before running #56

Closed bcyphers closed 4 years ago

bcyphers commented 4 years ago

docker build was using the cached version of the our base image, selenium/standalone-chrome, every single time. The last time it was updated on our machine was chrome 69, over a year ago.

This is fixed by running docker pull selenium/standalone-$BROWSER before docker build.

Also adding the --rm flag to docker run, which should remove the container after the run completes (so we have fewer dangling images taking up disk space)