Skip to content
Snippets Groups Projects
Commit 88b07a56 authored by Gilles Filippini's avatar Gilles Filippini
Browse files

chore: ignore cargo-deny advisories

We won't fix them because Duniter v1 will soon be deprecated.
parent 58760841
No related branches found
No related tags found
1 merge request!1412chore: ignore cargo-deny advisories
Pipeline #19038 failed
[advisories] [advisories]
ignore = [ ignore = [
# Wait to comfy-table upgrade crossterm # Won't fix
"RUSTSEC-2020-0091", "RUSTSEC-2020-0071",
# generic-array v0.12.3 allowed unsoundly extending lifetimes "RUSTSEC-2020-0159",
# but used only on build-dependencies by pest_meta "RUSTSEC-2021-0072",
"RUSTSEC-2020-0146", "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] [bans]
......
...@@ -2,29 +2,35 @@ ...@@ -2,29 +2,35 @@
# Build Stage # Build Stage
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
FROM node:10-alpine as build 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 maintainer="elois <elois@duniter.org>"
LABEL description="Duniter server (Crypto-currency software to manage libre currency such as Ğ1)" #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" #ARG DUNITER_UI_VER="1.7.x"
#ARG INSTALL_DEX="no"
RUN apk update && \ #
apk add ca-certificates curl && \ #RUN apk update && \
update-ca-certificates && \ # apk add ca-certificates curl && \
apk add --update cmake g++ python make # update-ca-certificates && \
# apk add --update cmake g++ python make
WORKDIR /duniter #
#WORKDIR /duniter
# copy source tree #
## copy source tree
COPY ./ ./ COPY ./ ./
#
# install latest stable rust ## install latest stable rust
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y #RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
# build duniter # 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} \ RUN PATH=${HOME}/.cargo/bin:${PATH} \
RUSTFLAGS="-C target-feature=-crt-static -L/usr/lib" \ RUSTFLAGS="-C target-feature=-crt-static -L/usr/lib" \
make -C release ADD_DEBUG=N INSTALL_DEX=${INSTALL_DEX} server-gui clean \ make -C release ADD_DEBUG=N INSTALL_DEX=${INSTALL_DEX} server-gui clean \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment