forked from Deuxfleurs/nixcfg
16 lines
556 B
Docker
16 lines
556 B
Docker
FROM amd64/debian:trixie as builder
|
|
|
|
ARG VERSION
|
|
WORKDIR /root
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y wget
|
|
|
|
RUN wget https://github.com/element-hq/element-web/releases/download/${VERSION}/element-${VERSION}.tar.gz && \
|
|
tar xf element-${VERSION}.tar.gz && \
|
|
mv element-${VERSION}/ riot/
|
|
|
|
# Le conteneur de superboum contient uniquement un serveur web de 5 lignes.
|
|
# Ca vous ennuie ? On peut publier Riot dans un bucket web Garage, tkt, ça sera Tricot qui servira.
|
|
FROM superboum/amd64_webserver:v3
|
|
COPY --from=builder /root/riot /srv/http
|