Fix order of docker command arguments and change repository link to...

...github.com repo, to relieve some pressure from git.koesters.xyz.
This commit is contained in:
Daniel Wiesenberg 2020-10-18 23:06:08 +02:00
parent cde4178f4a
commit 2d6b7750fd
3 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ FROM alpine:3.12 as builder
# from the official git repository. Defaults to the git repo.
ARG LOCAL=false
# Specifies which revision/commit is build. Defaults to HEAD
ARG GIT_REF=HEAD
ARG GIT_REF=origin/master
# Add 'edge'-repository to get Rust 1.45
RUN sed -i \
@ -30,7 +30,7 @@ COPY . .
RUN if [[ $LOCAL == "true" ]]; then \
cargo install --path . ; \
else \
cargo install --git "https://git.koesters.xyz/timo/conduit.git" --rev ${GIT_REF}; \
cargo install --git "https://github.com/timokoesters/conduit.git" --rev ${GIT_REF}; \
fi
########################## RUNTIME IMAGE ##########################