diff --git a/Dockerfile b/Dockerfile index 7a01c6b..56b324c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ 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 +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 FROM python:3.10-slim-bullseye as final RUN apt-get update && apt-get install -y firefox-esr diff --git a/tasks.py b/tasks.py index da990a1..c61149e 100644 --- a/tasks.py +++ b/tasks.py @@ -44,7 +44,7 @@ def publish_docker(ctx): with ctx.cd(BASE_DIR): docker_image = "crocmagnon/ynab" ctx.run( - f"docker build --platform linux/amd64 --build-arg OFX_VERSION=$(poetry version -s) -t {docker_image} .", + f"docker build --pull --platform linux/amd64 --build-arg OFX_VERSION=$(poetry version -s) -t {docker_image} .", pty=True, echo=True, )