FROM ubuntu:jammy@sha256:58b87898e82351c6cf9cf5b9f3c20257bb9e2dcf33af051e12ce532d7f94e3fe 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.12 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