Skip to content

Commit

Permalink
Update cargo install instructions to declare 'trunk' branch
Browse files Browse the repository at this point in the history
See also rust-lang/cargo#3517.

Breakage caused by artichoke/artichoke#961.
  • Loading branch information
lopopolo committed Dec 18, 2020
1 parent 7489a0f commit 8e5fa45
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ ARG ARTICHOKE_NIGHTLY_VER=latest
RUN apt-get install -y musl-tools
# Install artichoke
RUN set -eux; \
RUSTFLAGS="-C link-arg=-s" cargo install --git https://github.com/artichoke/artichoke --locked artichoke \
RUSTFLAGS="-C link-arg=-s" cargo install \
--git https://github.com/artichoke/artichoke \
--branch trunk \
--locked artichoke \
--target x86_64-unknown-linux-musl; \
airb --version; \
artichoke --version;
Expand Down
5 changes: 4 additions & 1 deletion debian/buster/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ RUN set -eux; \
ARG ARTICHOKE_NIGHTLY_VER=latest
# Install artichoke
RUN set -eux; \
RUSTFLAGS="-C link-arg=-s" cargo install --git https://github.com/artichoke/artichoke --locked artichoke; \
RUSTFLAGS="-C link-arg=-s" cargo install \
--git https://github.com/artichoke/artichoke \
--branch trunk \
--locked artichoke; \
airb --version; \
artichoke --version;

Expand Down
5 changes: 4 additions & 1 deletion ubuntu/bionic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ RUN set -eux; \
ARG ARTICHOKE_NIGHTLY_VER=latest
# Install artichoke
RUN set -eux; \
RUSTFLAGS="-C link-arg=-s" cargo install --git https://github.com/artichoke/artichoke --locked artichoke; \
RUSTFLAGS="-C link-arg=-s" cargo install \
--git https://github.com/artichoke/artichoke \
--branch trunk \
--locked artichoke; \
airb --version; \
artichoke --version;

Expand Down

0 comments on commit 8e5fa45

Please sign in to comment.