Skip to content

Commit 4b49e80

Browse files
author
Sylvain Pace
authored
Merge pull request #451 from algolia/scraper/pre_v3
Deploy image before porting to python v3
2 parents 0f58e55 + 20c2b59 commit 4b49e80

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cli/src/commands/abstract_build_docker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def build_docker_file(file, image="algolia/docsearch-scraper-dev",
88
tags = [image]
99

1010
if local_tag:
11-
tag = AbstractBuildDocker.get_local_tag()
11+
tag = AbstractBuildDocker.get_local_tag().decode()
1212
tags.append(image + ":" + tag)
1313

1414
cmd = ["docker", "build"] + [param for tag in tags for param in

scraper/dev/docker/Dockerfile.base

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ RUN chown -R seleuser /home/seleuser
1313
RUN chgrp -R seleuser /home/seleuser
1414

1515
RUN apt-get update -y && apt-get install -yq \
16-
software-properties-common
16+
software-properties-common\
17+
python3.7
1718
RUN add-apt-repository -y ppa:openjdk-r/ppa
1819
RUN apt-get update -y && apt-get install -yq \
1920
curl \

0 commit comments

Comments
 (0)