2024-08-17 08:32:15 +00:00
|
|
|
FROM ubuntu:jammy@sha256:adbb90115a21969d2fe6fa7f9af4253e16d45f8d4c1e930182610c4731962658 AS build
|
2024-07-28 19:51:27 +00:00
|
|
|
|
|
|
|
RUN apt-get update && \
|
2024-07-28 22:30:14 +00:00
|
|
|
apt-get install -y software-properties-common wget && \
|
|
|
|
add-apt-repository ppa:longsleep/golang-backports
|
2021-01-18 23:32:49 +00:00
|
|
|
|
2024-08-14 06:55:58 +00:00
|
|
|
ENV SEAFILE_VERSION=11.0.12
|
2021-01-18 23:32:49 +00:00
|
|
|
|
2024-07-28 19:51:27 +00:00
|
|
|
WORKDIR /tmp
|
|
|
|
RUN wget https://raw.githubusercontent.com/haiwen/seafile-docker/master/build/seafile-build.sh
|
|
|
|
RUN wget https://raw.githubusercontent.com/haiwen/seafile-docker/master/build/seafile-build.py
|
|
|
|
RUN chmod +x ./seafile-build.sh
|
|
|
|
RUN ./seafile-build.sh ${SEAFILE_VERSION}
|
2021-01-18 23:32:49 +00:00
|
|
|
|
2024-06-03 22:01:50 +00:00
|
|
|
FROM caddy:2.8.4-alpine
|
2021-01-18 23:32:49 +00:00
|
|
|
|
2024-07-28 19:51:27 +00:00
|
|
|
COPY --from=build /tmp/seafile-server*/seahub/media /usr/share/caddy/media
|