mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-20 05:13:11 -06:00
Initial Docker Hub test
This commit is contained in:
parent
8b3100935c
commit
68d0df53dd
10
docker/hub/Dockerfile
Normal file
10
docker/hub/Dockerfile
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FROM docker.io/golang:1.13.7-alpine3.11 AS builder
|
||||
|
||||
RUN apk --update --no-cache add bash build-base
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
ADD . /build
|
||||
|
||||
RUN mkdir -p bin
|
||||
RUN sh ./build.sh
|
||||
12
docker/hub/Dockerfile.clientapi
Normal file
12
docker/hub/Dockerfile.clientapi
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
FROM matrixdotorg/dendrite:latest AS base
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
COPY --from=base /build/bin/dendrite-client-api-server /usr/bin
|
||||
COPY --from=base /build/docker/services/dendrite-client-api-server.sh /usr/bin
|
||||
|
||||
WORKDIR /usr
|
||||
|
||||
ENTRYPOINT ./bin/dendrite-client-api-server.sh
|
||||
|
||||
EXPOSE 7771
|
||||
13
docker/hub/Dockerfile.clientproxy
Normal file
13
docker/hub/Dockerfile.clientproxy
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
FROM matrixdotorg/dendrite:latest AS base
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
COPY --from=base /build/bin/client-api-proxy /usr/bin
|
||||
COPY --from=base /build/docker/services/client-api-proxy.sh /usr/bin
|
||||
|
||||
WORKDIR /usr
|
||||
|
||||
ENTRYPOINT ./bin/client-api-proxy.sh
|
||||
|
||||
EXPOSE 8008
|
||||
EXPOSE 8448
|
||||
12
docker/hub/Dockerfile.eduserver
Normal file
12
docker/hub/Dockerfile.eduserver
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
FROM matrixdotorg/dendrite:latest AS base
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
COPY --from=base /build/bin/dendrite-edu-server /usr/bin
|
||||
COPY --from=base /build/docker/services/edu-server.sh /usr/bin
|
||||
|
||||
WORKDIR /usr
|
||||
|
||||
ENTRYPOINT ./bin/edu-server.sh
|
||||
|
||||
EXPOSE 7777
|
||||
12
docker/hub/Dockerfile.federationapi
Normal file
12
docker/hub/Dockerfile.federationapi
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
FROM matrixdotorg/dendrite:latest AS base
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
COPY --from=base /build/bin/dendrite-federation-api /usr/bin
|
||||
COPY --from=base /build/docker/services/federation-api.sh /usr/bin
|
||||
|
||||
WORKDIR /usr
|
||||
|
||||
ENTRYPOINT ./bin/federation-api.sh
|
||||
|
||||
EXPOSE 7772
|
||||
13
docker/hub/Dockerfile.federationproxy
Normal file
13
docker/hub/Dockerfile.federationproxy
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
FROM matrixdotorg/dendrite:latest AS base
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
COPY --from=base /build/bin/federation-api-proxy /usr/bin
|
||||
COPY --from=base /build/docker/services/federation-api-proxy.sh /usr/bin
|
||||
|
||||
WORKDIR /usr
|
||||
|
||||
ENTRYPOINT ./bin/federation-api-proxy.sh
|
||||
|
||||
EXPOSE 8008
|
||||
EXPOSE 8448
|
||||
12
docker/hub/Dockerfile.federationsender
Normal file
12
docker/hub/Dockerfile.federationsender
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
FROM matrixdotorg/dendrite:latest AS base
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
COPY --from=base /build/bin/dendrite-federation-sender-server /usr/bin
|
||||
COPY --from=base /build/docker/services/federation-sender.sh /usr/bin
|
||||
|
||||
WORKDIR /usr
|
||||
|
||||
ENTRYPOINT ./bin/federation-sender.sh
|
||||
|
||||
EXPOSE 7776
|
||||
13
docker/hub/Dockerfile.monolith
Normal file
13
docker/hub/Dockerfile.monolith
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
FROM matrixdotorg/dendrite:latest AS base
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
COPY --from=base /build/bin/dendrite-monolith-server /usr/bin
|
||||
COPY --from=base /build/docker/services/monolith.sh /usr/bin
|
||||
|
||||
WORKDIR /usr
|
||||
|
||||
ENTRYPOINT ./bin/monolith.sh
|
||||
|
||||
EXPOSE 8008
|
||||
EXPOSE 8448
|
||||
Loading…
Reference in a new issue