diff --git a/deny.toml b/deny.toml index 65511116543dc991a6da019d0bb0c7df48b61569..9d12f70eef5b110081e150a8e85c5dd1982a7cbc 100644 --- a/deny.toml +++ b/deny.toml @@ -1,10 +1,20 @@ [advisories] ignore = [ - # Wait to comfy-table upgrade crossterm - "RUSTSEC-2020-0091", - # generic-array v0.12.3 allowed unsoundly extending lifetimes - # but used only on build-dependencies by pest_meta - "RUSTSEC-2020-0146", + # Won't fix + "RUSTSEC-2020-0071", + "RUSTSEC-2020-0159", + "RUSTSEC-2021-0072", + "RUSTSEC-2021-0078", + "RUSTSEC-2021-0079", + "RUSTSEC-2021-0093", + "RUSTSEC-2021-0114", + "RUSTSEC-2021-0115", + "RUSTSEC-2021-0119", + "RUSTSEC-2021-0124", + "RUSTSEC-2022-0013", + "RUSTSEC-2022-0037", + "RUSTSEC-2022-0082", + "RUSTSEC-2023-0018", ] [bans] diff --git a/release/docker/Dockerfile b/release/docker/Dockerfile index edac20d7cc7f331fc4bd353c01fa41d48946fc06..d0e93f899f74fd47e969d8db8c10976ea67cda57 100644 --- a/release/docker/Dockerfile +++ b/release/docker/Dockerfile @@ -2,29 +2,35 @@ # Build Stage # ------------------------------------------------------------------------------ -FROM node:10-alpine as build - -LABEL maintainer="elois <elois@duniter.org>" -LABEL version="0.1.0" -LABEL description="Duniter server (Crypto-currency software to manage libre currency such as Ğ1)" - -ARG DUNITER_UI_VER="1.7.x" -ARG INSTALL_DEX="no" - -RUN apk update && \ - apk add ca-certificates curl && \ - update-ca-certificates && \ - apk add --update cmake g++ python make - -WORKDIR /duniter - -# copy source tree +FROM rust/rust-x64-stable-ci:latest +#FROM node:10-alpine as build +# +#LABEL maintainer="elois <elois@duniter.org>" +#LABEL version="0.1.0" +#LABEL description="Duniter server (Crypto-currency software to manage libre currency such as Ğ1)" +# +#ARG DUNITER_UI_VER="1.7.x" +#ARG INSTALL_DEX="no" +# +#RUN apk update && \ +# apk add ca-certificates curl && \ +# update-ca-certificates && \ +# apk add --update cmake g++ python make +# +#WORKDIR /duniter +# +## copy source tree COPY ./ ./ - -# install latest stable rust -RUN curl https://sh.rustup.rs -sSf | sh -s -- -y +# +## install latest stable rust +#RUN curl https://sh.rustup.rs -sSf | sh -s -- -y # build duniter +RUN PATH=${HOME}/.cargo/bin:${PATH} && \ + cargo update --package async-graphql --precise 4.0.6 && \ + cargo deny --workspace check +RUN false + RUN PATH=${HOME}/.cargo/bin:${PATH} \ RUSTFLAGS="-C target-feature=-crt-static -L/usr/lib" \ make -C release ADD_DEBUG=N INSTALL_DEX=${INSTALL_DEX} server-gui clean \