mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
17 lines
644 B
Docker
17 lines
644 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.9
|
|
|
|
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 |