Skip to content
Snippets Groups Projects

chore: ignore cargo-deny advisories

Closed pini requested to merge pini-gh/duniter:pini-audit-dependencies into dev
2 files
+ 41
25
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 26
20
@@ -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 \
Loading