-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker/streamline image, upgrade old firefox with headless chrome #415
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very good!
I'm just wondering about the renaming. Shouldn't we rename it to algolia/docsearch
on Docker hub?
bd1e8d0
to
6b8ce88
Compare
6b8ce88
to
0fc5612
Compare
"algolia/docsearch-scraper-test") | ||
|
||
code = self.build_docker_file("scraper/dev/docker/Dockerfile.base", | ||
"algolia/base-docsearch-scraper") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we have both images follow the same pattern in naming? Like docsearch-scraper-test
and docsearch-scraper-base
instead of base-docsearch-scraper
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. I will do it
scraper/dev/docker/Dockerfile.base
Outdated
RUN apt-get update -y && apt-get install -yq \ | ||
curl \ | ||
wget \ | ||
sudo -yq \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to add -yq
to every line, once for the apt-get install
command is enough
Review done @pixelastic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR is here to streamline the docker image. It:
pipenv
to elegantly install the python envpy3
parameter that is not used any more by travisdocker:run
command. It will by default use the remote steady image. A new parameter is introduced to use the local code insteadscraper
cc #411