forked from gaugendre/ofx-processor
Cleanup dockerfile
This commit is contained in:
parent
a54906c6d1
commit
57cdb596c5
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue