2024-02-19 10:35:19 +00:00
|
|
|
FROM alpine:3.18.6 AS get
|
2024-02-17 11:57:43 +00:00
|
|
|
ENV SEAFILE_VERSION=11.0.5
|
2021-01-18 23:32:49 +00:00
|
|
|
|
|
|
|
RUN apk add --no-cache wget
|
|
|
|
|
|
|
|
RUN cd /tmp && \
|
2023-10-19 10:16:30 +00:00
|
|
|
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 && \
|
2021-01-18 23:32:49 +00:00
|
|
|
tar -zxvf seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \
|
|
|
|
rm -f seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz
|
|
|
|
|
2023-12-08 22:57:47 +00:00
|
|
|
FROM caddy:2.7.6-alpine
|
2021-01-18 23:32:49 +00:00
|
|
|
|
2021-01-24 14:39:37 +00:00
|
|
|
COPY --from=get /tmp/seafile-server*/seahub/media /usr/share/caddy/media
|