mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
13 lines
486 B
Docker
13 lines
486 B
Docker
FROM alpine:3.18.5 AS get
|
|
ENV SEAFILE_VERSION=11.0.2
|
|
|
|
RUN apk add --no-cache wget
|
|
|
|
RUN cd /tmp && \
|
|
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
|
|
|
|
FROM caddy:2.7.6-alpine
|
|
|
|
COPY --from=get /tmp/seafile-server*/seahub/media /usr/share/caddy/media |