seafile-containerized/seahub-media/Dockerfile
2024-08-05 07:18:03 +00:00

17 lines
645 B
Docker

FROM ubuntu:jammy@sha256:340d9b015b194dc6e2a13938944e0d016e57b9679963fdeb9ce021daac430221 AS build
RUN apt-get update && \
apt-get install -y software-properties-common wget && \
add-apt-repository ppa:longsleep/golang-backports
ENV SEAFILE_VERSION=11.0.10
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}
FROM caddy:2.8.4-alpine
COPY --from=build /tmp/seafile-server*/seahub/media /usr/share/caddy/media