mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
use different method to prevent seafile package caching
fixes caching in build pipeline
This commit is contained in:
parent
327d74bdf3
commit
e269ac510d
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue