diff options
Diffstat (limited to 'docker/riotweb')
-rw-r--r-- | docker/riotweb/Dockerfile | 10 | ||||
-rw-r--r-- | docker/riotweb/README.md | 4 |
2 files changed, 5 insertions, 9 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 diff --git a/docker/riotweb/README.md b/docker/riotweb/README.md deleted file mode 100644 index 150fd51..0000000 --- a/docker/riotweb/README.md +++ /dev/null @@ -1,4 +0,0 @@ -``` -sudo docker build -t superboum/amd64_riotweb:v10 . -sudo docker push superboum/amd64_riotweb:v10 -``` |