Update dockerfile
This commit is contained in:
parent
2e468f69f1
commit
fb55fa4d1a
1 changed files with 3 additions and 3 deletions
|
@ -1,13 +1,13 @@
|
||||||
FROM debian:bullseye AS downloader
|
FROM debian:bookworm AS downloader
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN apt-get update && apt-get install -y wget
|
RUN apt-get update && apt-get install -y wget
|
||||||
ARG GECKODRIVER_VERSION="v0.30.0"
|
ARG GECKODRIVER_VERSION="v0.33.0"
|
||||||
ARG GECKODRIVER_FILENAME="geckodriver-$GECKODRIVER_VERSION-linux64.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 \
|
RUN wget -q https://github.com/mozilla/geckodriver/releases/download/$GECKODRIVER_VERSION/$GECKODRIVER_FILENAME \
|
||||||
&& tar xvf $GECKODRIVER_FILENAME \
|
&& tar xvf $GECKODRIVER_FILENAME \
|
||||||
&& rm $GECKODRIVER_FILENAME
|
&& rm $GECKODRIVER_FILENAME
|
||||||
|
|
||||||
FROM python:3.10-slim-bullseye as final
|
FROM python:3.11-slim-bullseye as final
|
||||||
RUN apt-get update && apt-get install -y firefox-esr
|
RUN apt-get update && apt-get install -y firefox-esr
|
||||||
COPY --from=downloader /app/geckodriver /usr/local/bin/geckodriver
|
COPY --from=downloader /app/geckodriver /usr/local/bin/geckodriver
|
||||||
ARG OFX_VERSION
|
ARG OFX_VERSION
|
||||||
|
|
Loading…
Reference in a new issue