From d13352910d3c352d07d7e482bc87227ce88bdb22 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 2 Jun 2020 12:26:41 +0200 Subject: Add upgrade documentation --- docker/riotweb/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docker/riotweb/Dockerfile') diff --git a/docker/riotweb/Dockerfile b/docker/riotweb/Dockerfile index fc0bae9..862e2e5 100644 --- a/docker/riotweb/Dockerfile +++ b/docker/riotweb/Dockerfile @@ -1,13 +1,13 @@ -FROM amd64/debian:stretch as builder +FROM amd64/debian:buster as builder +ARG VERSION WORKDIR /root -ENV VERSION v1.6.0 RUN apt-get update && \ apt-get install -y wget && \ - wget https://github.com/vector-im/riot-web/releases/download/${VERSION}/riot-${VERSION}.tar.gz && \ - tar xf riot-${VERSION}.tar.gz && \ - mv riot-${VERSION}/ riot/ + 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/ FROM superboum/amd64_webserver:v3 COPY --from=builder /root/riot /srv/http -- cgit v1.2.3