Linux:
export CARGO_MAKE_VERSION="0.26.1" \
&& curl -sL https://github.com/sagiegurari/cargo-make/releases/download/${CARGO_MAKE_VERSION}/cargo-make-v${CARGO_MAKE_VERSION}-x86_64-unknown-linux-musl.zip \
| busybox unzip -p - cargo-make-v${CARGO_MAKE_VERSION}-x86_64-unknown-linux-musl/cargo-make > bin/cargo-make && chmod a+x bin/cargo-make
macOS:
export CARGO_MAKE_VERSION="0.26.1" \
&& curl -sL https://github.com/sagiegurari/cargo-make/releases/download/${CARGO_MAKE_VERSION}/cargo-make-v${CARGO_MAKE_VERSION}-x86_64-apple-darwin.zip \
| bsdtar --strip-components 1 -C bin/ -xvf - cargo-make-v${CARGO_MAKE_VERSION}-x86_64-apple-darwin/cargo-make
bin/cargo-make make --makefile tasks/setup-project.toml
Like below:
UID=1000
GID=100
BIND_IP_ADDR=192.168.0.1
PUBLIC_IP_ADDR=192.168.0.1
UID=1000
GID=100
BIND_IP_ADDR=192.168.0.1
PUBLIC_IP_ADDR=203.0.113.1
docker-compose up
bin/cargo-make make --makefile tasks/build-production-images.toml