summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorDaniel Wiesenberg <weasy@hotmail.de>2021-03-12 18:26:23 +0100
committerDaniel Wiesenberg <weasy@hotmail.de>2021-05-22 16:53:48 +0200
commit52a96b3d8404ccfc04ab0e0ba60ed8f9963ba686 (patch)
tree0183febcd5fd025c36ffd1ef9394d3d16fe6571c /Dockerfile
parent42c9ba2e5cdc02cac85da8e317e65ed6c32ba133 (diff)
downloadconduit-52a96b3d8404ccfc04ab0e0ba60ed8f9963ba686.zip
Update Dockerfile and docker-compose
- Dockerfile now tracks the gitlab repository and the master branch. - docker-compose now points to conduit.toml instead of Rocket.toml and its env vars were also renamed from ROCKET_ to CONDUIT_. Furthermore vectorim/riot-web was changed to vectorim/element-web
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index a97f4cf..594a4b8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -30,7 +30,7 @@ COPY . .
RUN if [[ $LOCAL == "true" ]]; then \
cargo install --path . ; \
else \
- cargo install --git "https://github.com/timokoesters/conduit.git" --rev ${GIT_REF}; \
+ cargo install --git "https://gitlab.com/famedly/conduit.git" --rev ${GIT_REF}; \
fi
########################## RUNTIME IMAGE ##########################
@@ -40,7 +40,7 @@ FROM alpine:3.12
ARG CREATED
ARG VERSION
-ARG GIT_REF=HEAD
+ARG GIT_REF=origin/master
# Labels according to https://github.com/opencontainers/image-spec/blob/master/annotations.md
# including a custom label specifying the build command
@@ -52,7 +52,7 @@ LABEL org.opencontainers.image.created=${CREATED} \
org.opencontainers.image.description="A Matrix homeserver written in Rust" \
org.opencontainers.image.url="https://conduit.rs/" \
org.opencontainers.image.revision=${GIT_REF} \
- org.opencontainers.image.source="https://git.koesters.xyz/timo/conduit.git" \
+ org.opencontainers.image.source="https://gitlab.com/famedly/conduit.git" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.documentation="" \
org.opencontainers.image.ref.name="" \