Skip to content

Commit

Permalink
Invalidate layer cache when deadsnake ppa changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Dec 12, 2024
1 parent 3e61cd4 commit a64f976
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile-12.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM docker.io/ubuntu:$DISTRO

LABEL org.opencontainers.image.authors="ACSONE SA/NV"

ARG DISTRO
ARG PYTHONBIN=python3.6

ENV \
Expand All @@ -15,6 +16,7 @@ ENV \
KWKHTMLTOPDF_SERVER_URL=http://kwkhtmltopdf


ADD https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu/dists/$DISTRO/Release /tmp/
RUN --mount=type=bind,source=./install,target=/tmp/install \
set -x \
&& /tmp/install/pre-install.sh \
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-13.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM docker.io/ubuntu:$DISTRO

LABEL org.opencontainers.image.authors="ACSONE SA/NV"

ARG DISTRO
ARG PYTHONBIN=python3.6

ENV \
Expand All @@ -15,6 +16,7 @@ ENV \
KWKHTMLTOPDF_SERVER_URL=http://kwkhtmltopdf


ADD https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu/dists/$DISTRO/Release /tmp/
RUN --mount=type=bind,source=./install,target=/tmp/install \
set -x \
&& /tmp/install/pre-install.sh \
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-14.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM docker.io/ubuntu:$DISTRO

LABEL org.opencontainers.image.authors="ACSONE SA/NV"

ARG DISTRO
ARG PYTHONBIN=python3.6

ENV \
Expand All @@ -15,6 +16,7 @@ ENV \
KWKHTMLTOPDF_SERVER_URL=http://kwkhtmltopdf


ADD https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu/dists/$DISTRO/Release /tmp/
RUN --mount=type=bind,source=./install,target=/tmp/install \
set -x \
&& /tmp/install/pre-install.sh \
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-15.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM docker.io/ubuntu:$DISTRO

LABEL org.opencontainers.image.authors="ACSONE SA/NV"

ARG DISTRO
ARG PYTHONBIN=python3.8

ENV \
Expand All @@ -15,6 +16,7 @@ ENV \
KWKHTMLTOPDF_SERVER_URL=http://kwkhtmltopdf


ADD https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu/dists/$DISTRO/Release /tmp/
RUN --mount=type=bind,source=./install,target=/tmp/install \
set -x \
&& /tmp/install/pre-install.sh \
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-16.0
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ENV \
KWKHTMLTOPDF_SERVER_URL=http://kwkhtmltopdf


ADD https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu/dists/$DISTRO/Release /tmp/
RUN --mount=type=bind,source=./install,target=/tmp/install \
set -x \
&& /tmp/install/pre-install.sh \
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-17.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM docker.io/ubuntu:$DISTRO

LABEL org.opencontainers.image.authors="ACSONE SA/NV"

ARG DISTRO
ARG PYTHONBIN=python3.11

ENV \
Expand All @@ -15,6 +16,7 @@ ENV \
KWKHTMLTOPDF_SERVER_URL=http://kwkhtmltopdf


ADD https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu/dists/$DISTRO/Release /tmp/deadsnakes
RUN --mount=type=bind,source=./install,target=/tmp/install \
set -x \
&& /tmp/install/pre-install.sh \
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-18.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM docker.io/ubuntu:$DISTRO

LABEL org.opencontainers.image.authors="ACSONE SA/NV"

ARG DISTRO
ARG PYTHONBIN=python3.12

ENV \
Expand All @@ -15,6 +16,7 @@ ENV \
KWKHTMLTOPDF_SERVER_URL=http://kwkhtmltopdf


ADD https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu/dists/$DISTRO/Release /tmp/
RUN --mount=type=bind,source=./install,target=/tmp/install \
set -x \
&& /tmp/install/pre-install.sh \
Expand Down

0 comments on commit a64f976

Please sign in to comment.