disable optimisation that doesn't work

This commit is contained in:
Mayel 2021-01-22 19:06:48 +01:00
parent a95143a2c6
commit 2166463bfc

View file

@ -25,8 +25,8 @@ RUN apk add rust cargo
# dependency manager
RUN (git clone https://github.com/commonspub/messctl.git $FORKS/messctl/origin 2> /dev/null || (cd $FORKS/messctl/origin && git pull)) && cd $FORKS/messctl/origin && git checkout 8f53c86687ba2bd262471c6e8d9490ed00bf1306
# precompile Rust deps
RUN cd $FORKS/messctl && cargo init && mkdir .cargo && cp origin/Cargo.* . && cargo build
# precompile Rust deps (FIXME - doesn't seem to have an effect)
#RUN cd $FORKS/messctl && cargo init && mkdir .cargo && cp origin/Cargo.* . && cargo build
# compile messctl
RUN cd $FORKS/messctl && cp -r origin/* . && cargo build --release && cargo install --path . --verbose
# install