Fix up installation of cargo-make by specifying the version required.
This commit is contained in:
parent
35bfea451c
commit
05b73512b9
|
@ -25,7 +25,7 @@ RUN cd /app/rookeries && npm install
|
||||||
# Cache the Rust dependencies -> http://whitfin.io/speeding-up-rust-docker-builds/
|
# Cache the Rust dependencies -> http://whitfin.io/speeding-up-rust-docker-builds/
|
||||||
WORKDIR /app/rookeries/
|
WORKDIR /app/rookeries/
|
||||||
RUN rustup component add rustfmt-preview && \
|
RUN rustup component add rustfmt-preview && \
|
||||||
cargo install cargo-make && \
|
cargo install cargo-make --version 0.13.0 && \
|
||||||
cargo install diesel_cli --no-default-features --features "postgres"
|
cargo install diesel_cli --no-default-features --features "postgres"
|
||||||
RUN USER=root cargo init --bin
|
RUN USER=root cargo init --bin
|
||||||
COPY ["Cargo.toml", "Cargo.lock", "/app/rookeries/"]
|
COPY ["Cargo.toml", "Cargo.lock", "/app/rookeries/"]
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
docker-compose (<1.8.0).
|
docker-compose (<1.8.0).
|
||||||
|
|
||||||
1. [Install docker-compose](https://docs.docker.com/compose/install/)
|
1. [Install docker-compose](https://docs.docker.com/compose/install/)
|
||||||
1. Install [cargo-make](https://sagiegurari.github.io/cargo-make)
|
1. Install [cargo-make](https://sagiegurari.github.io/cargo-make) version 0.13.0
|
||||||
1. Install [diesel_cli](https://github.com/diesel-rs/diesel/tree/master/diesel_cli)
|
1. Install [diesel_cli](https://github.com/diesel-rs/diesel/tree/master/diesel_cli)
|
||||||
1. Install the Postgres headers > 10.5: e.g. `sudo apt install libpq-dev` on Ubuntu 18.04
|
1. Install the Postgres headers > 10.5: e.g. `sudo apt install libpq-dev` on Ubuntu 18.04
|
||||||
1. Install diesel_cli: `cargo install diesel_cli --no-default-features --features postgres`
|
1. Install diesel_cli: `cargo install diesel_cli --no-default-features --features postgres`
|
||||||
|
|
|
@ -40,7 +40,7 @@ development guide below.
|
||||||
docker-compose (<1.8.0).
|
docker-compose (<1.8.0).
|
||||||
|
|
||||||
1. [Install docker-compose](https://docs.docker.com/compose/install/)
|
1. [Install docker-compose](https://docs.docker.com/compose/install/)
|
||||||
1. Install [cargo-make](https://sagiegurari.github.io/cargo-make)
|
1. Install [cargo-make](https://sagiegurari.github.io/cargo-make) version 0.13.0
|
||||||
1. Install [diesel_cli](https://github.com/diesel-rs/diesel/tree/master/diesel_cli)
|
1. Install [diesel_cli](https://github.com/diesel-rs/diesel/tree/master/diesel_cli)
|
||||||
1. Install the Postgres headers > 10.5: e.g. `sudo apt install libpq-dev` on Ubuntu 18.04
|
1. Install the Postgres headers > 10.5: e.g. `sudo apt install libpq-dev` on Ubuntu 18.04
|
||||||
1. Install diesel_cli: `cargo install diesel_cli --no-default-features --features postgres`
|
1. Install diesel_cli: `cargo install diesel_cli --no-default-features --features postgres`
|
||||||
|
|
Loading…
Reference in New Issue