mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-22 15:28:02 +01:00
13 lines
609 B
Text
13 lines
609 B
Text
|
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/v0.30.0/$GECKODRIVER_FILENAME.tar.gz && tar xvf $GECKODRIVER_FILENAME.tar.gz && rm $GECKODRIVER_FILENAME.tar.gz
|
||
|
|
||
|
FROM python:3.10-slim-bullseye as final
|
||
|
RUN apt-get update && apt-get install -y firefox-esr
|
||
|
COPY --from=downloader /app/geckodriver /usr/local/bin/geckodriver
|
||
|
RUN pip install ofx-processor==3.2.1
|
||
|
CMD ["ynab", "lcl", "--download"]
|