seafile-containerized/seahub-media/Dockerfile

17 lines
645 B
Docker
Raw Permalink Normal View History

2024-07-28 19:51:27 +00:00
FROM ubuntu:jammy@sha256:340d9b015b194dc6e2a13938944e0d016e57b9679963fdeb9ce021daac430221 AS build
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