diff --git a/cli/src/commands/abstract_build_docker.py b/cli/src/commands/abstract_build_docker.py index df733219..6dc5d091 100644 --- a/cli/src/commands/abstract_build_docker.py +++ b/cli/src/commands/abstract_build_docker.py @@ -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 diff --git a/scraper/dev/docker/Dockerfile.base b/scraper/dev/docker/Dockerfile.base index 0bc05859..76cd8072 100644 --- a/scraper/dev/docker/Dockerfile.base +++ b/scraper/dev/docker/Dockerfile.base @@ -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 \