Compare commits

..

No commits in common. "c5eb57202371cf53ccd231c140fe6ad12712e6e2" and "cc9fea9ba06bf69d1001bae47f01e302a2e61c38" have entirely different histories.

3 changed files with 13 additions and 13 deletions

8
restic
View File

@ -1,4 +1,4 @@
# docker buildx build --pull - --platform linux/amd64,linux/arm64 --push --tag quay.io/remram44/restic:0.17.1 < restic
# docker buildx build --pull - --platform linux/amd64,linux/arm64 --push --tag quay.io/remram44/restic:0.17.0 < restic
FROM ubuntu:22.04
@ -7,11 +7,11 @@ RUN apt-get update -yy && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
ARG RESTIC_VERSION=0.17.1
ARG RESTIC_VERSION=0.17.0
ARG TARGETPLATFORM
RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=bdfaf16fe933136e3057e64e28624f2e0451dbd47e23badb2d37dbb60fdb6a70; \
elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=aa9d86ac5f261f6a8295d5503bb27761ba7fe1fc1cf26fa52e7ab249b9a04716; \
RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=fec7ade9f12c30bd6323568dbb0f81a3f98a3c86acc8161590235c0f18194022; \
elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=f9ad4d91c181da2968ccdecb5238bf872f824fe1e40253f3347c4025192f19c9; \
else echo "no URL for $(TARGETPLATFORM)"; exit 1; fi && \
curl -Lo /tmp/restic.bz2 https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_${SUFFIX}.bz2 && \
printf "${HASH} /tmp/restic.bz2\\n" | sha256sum -c && \

View File

@ -1,17 +1,17 @@
# docker buildx build --pull - --platform linux/amd64,linux/arm64 --push --tag quay.io/remram44/restic:0.17.1-psql17 < restic-psql
# docker buildx build --pull - --platform linux/amd64,linux/arm64 --push --tag quay.io/remram44/restic:0.17.0-psql16 < restic-psql
FROM postgres:17
FROM postgres:16
RUN apt-get update -yy && \
apt-get install -yy curl ca-certificates bzip2 sqlite3 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
ARG RESTIC_VERSION=0.17.1
ARG RESTIC_VERSION=0.17.0
ARG TARGETPLATFORM
RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=bdfaf16fe933136e3057e64e28624f2e0451dbd47e23badb2d37dbb60fdb6a70; \
elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=aa9d86ac5f261f6a8295d5503bb27761ba7fe1fc1cf26fa52e7ab249b9a04716; \
RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=fec7ade9f12c30bd6323568dbb0f81a3f98a3c86acc8161590235c0f18194022; \
elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=f9ad4d91c181da2968ccdecb5238bf872f824fe1e40253f3347c4025192f19c9; \
else echo "no URL for $(TARGETPLATFORM)"; exit 1; fi && \
curl -Lo /tmp/restic.bz2 https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_${SUFFIX}.bz2 && \
printf "${HASH} /tmp/restic.bz2\\n" | sha256sum -c && \

View File

@ -1,12 +1,12 @@
# docker buildx build --pull - --platform linux/amd64,linux/arm64 --push --tag quay.io/remram44/restic-server:0.13.0-restic0.17.1 < restic-server
# docker buildx build --pull - --platform linux/amd64,linux/arm64 --push --tag quay.io/remram44/restic-server:0.13.0-restic0.17.0 < restic-server
FROM python:3.12 AS client
ARG RESTIC_VERSION=0.17.1
ARG RESTIC_VERSION=0.17.0
ARG TARGETPLATFORM
RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=bdfaf16fe933136e3057e64e28624f2e0451dbd47e23badb2d37dbb60fdb6a70; \
elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=aa9d86ac5f261f6a8295d5503bb27761ba7fe1fc1cf26fa52e7ab249b9a04716; \
RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=fec7ade9f12c30bd6323568dbb0f81a3f98a3c86acc8161590235c0f18194022; \
elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=f9ad4d91c181da2968ccdecb5238bf872f824fe1e40253f3347c4025192f19c9; \
else echo "no URL for $(TARGETPLATFORM)"; exit 1; fi && \
curl -Lo /tmp/restic.bz2 https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_${SUFFIX}.bz2 && \
printf "${HASH} /tmp/restic.bz2\\n" | sha256sum -c && \