infrastructure/app/build/riotweb/Dockerfile

14 lines
374 B
Text
Raw Normal View History

2020-06-02 10:26:41 +00:00
FROM amd64/debian:buster as builder
2019-06-01 14:02:49 +00:00
2020-06-02 10:26:41 +00:00
ARG VERSION
2019-06-01 14:02:49 +00:00
WORKDIR /root
RUN apt-get update && \
apt-get install -y wget && \
2020-06-02 10:26:41 +00:00
wget https://github.com/vector-im/riot-web/releases/download/v${VERSION}/riot-v${VERSION}.tar.gz && \
tar xf riot-v${VERSION}.tar.gz && \
mv riot-v${VERSION}/ riot/
2019-06-01 14:02:49 +00:00
FROM superboum/amd64_webserver:v3
COPY --from=builder /root/riot /srv/http