Skip to content

Commit

Permalink
Merge pull request #451 from algolia/scraper/pre_v3
Browse files Browse the repository at this point in the history
Deploy image before porting to python v3
  • Loading branch information
Sylvain Pace authored Apr 26, 2019
2 parents 0f58e55 + 20c2b59 commit 4b49e80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/src/commands/abstract_build_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def build_docker_file(file, image="algolia/docsearch-scraper-dev",
tags = [image]

if local_tag:
tag = AbstractBuildDocker.get_local_tag()
tag = AbstractBuildDocker.get_local_tag().decode()
tags.append(image + ":" + tag)

cmd = ["docker", "build"] + [param for tag in tags for param in
Expand Down
3 changes: 2 additions & 1 deletion scraper/dev/docker/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ RUN chown -R seleuser /home/seleuser
RUN chgrp -R seleuser /home/seleuser

RUN apt-get update -y && apt-get install -yq \
software-properties-common
software-properties-common\
python3.7
RUN add-apt-repository -y ppa:openjdk-r/ppa
RUN apt-get update -y && apt-get install -yq \
curl \
Expand Down

0 comments on commit 4b49e80

Please sign in to comment.