From e269ac510d2ca78266c106f438c7ec93153aba08 Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Thu, 19 Oct 2023 12:16:30 +0200 Subject: [PATCH] use different method to prevent seafile package caching fixes caching in build pipeline --- seafile-server/Dockerfile | 2 +- seahub-media/Dockerfile | 2 +- seahub/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/seafile-server/Dockerfile b/seafile-server/Dockerfile index 5014f57..3d89456 100644 --- a/seafile-server/Dockerfile +++ b/seafile-server/Dockerfile @@ -5,7 +5,7 @@ RUN apk add --no-cache wget ENV SEAFILE_VERSION=11.0.1 RUN cd /tmp && \ - wget https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz --header="Cache-Control: no-cache" && \ + wget https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz?nocache=$(date +%s) -O seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \ tar -zxvf seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \ rm -f seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz diff --git a/seahub-media/Dockerfile b/seahub-media/Dockerfile index ee5bf0f..41c31f6 100644 --- a/seahub-media/Dockerfile +++ b/seahub-media/Dockerfile @@ -4,7 +4,7 @@ ENV SEAFILE_VERSION=11.0.1 RUN apk add --no-cache wget RUN cd /tmp && \ - wget https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz --header="Cache-Control: no-cache" && \ + wget https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz?nocache=$(date +%s) -O seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \ tar -zxvf seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \ rm -f seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz diff --git a/seahub/Dockerfile b/seahub/Dockerfile index 01dd349..507ba8b 100644 --- a/seahub/Dockerfile +++ b/seahub/Dockerfile @@ -4,7 +4,7 @@ ENV SEAFILE_VERSION=11.0.1 RUN apk add --no-cache wget RUN cd /tmp && \ - wget https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz --header="Cache-Control: no-cache" && \ + wget https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz?nocache=$(date +%s) -O seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \ tar -zxvf seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \ rm -f seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz