From 57cdb596c5a31b2e977f7ebe9f33da51fc9c1888 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Mon, 10 Oct 2022 22:38:30 +0200 Subject: [PATCH] Cleanup dockerfile --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 56b324c..29e1828 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,10 @@ FROM debian:bullseye AS downloader WORKDIR /app RUN apt-get update && apt-get install -y wget ARG GECKODRIVER_VERSION="v0.30.0" -ARG GECKODRIVER_FILENAME="geckodriver-$GECKODRIVER_VERSION-linux64" -RUN wget -q https://github.com/mozilla/geckodriver/releases/download/$GECKODRIVER_VERSION/$GECKODRIVER_FILENAME.tar.gz && tar xvf $GECKODRIVER_FILENAME.tar.gz && rm $GECKODRIVER_FILENAME.tar.gz +ARG GECKODRIVER_FILENAME="geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz" +RUN wget -q https://github.com/mozilla/geckodriver/releases/download/$GECKODRIVER_VERSION/$GECKODRIVER_FILENAME \ + && tar xvf $GECKODRIVER_FILENAME \ + && rm $GECKODRIVER_FILENAME FROM python:3.10-slim-bullseye as final RUN apt-get update && apt-get install -y firefox-esr