aboutsummaryrefslogtreecommitdiff
path: root/docker/riotweb/Dockerfile
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-06-02 12:26:41 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-06-02 12:26:41 +0200
commitd13352910d3c352d07d7e482bc87227ce88bdb22 (patch)
tree0c7c07a1f9e8a03f54dd58c1ebf8c05693234757 /docker/riotweb/Dockerfile
parenta2e1f61cf8b70f0e63fc6f8eddbbcf0477263f8f (diff)
downloadinfrastructure-d13352910d3c352d07d7e482bc87227ce88bdb22.tar.gz
infrastructure-d13352910d3c352d07d7e482bc87227ce88bdb22.zip
Add upgrade documentation
Diffstat (limited to 'docker/riotweb/Dockerfile')
-rw-r--r--docker/riotweb/Dockerfile10
1 files changed, 5 insertions, 5 deletions
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