feat: new CI pipeline [skip ci]

This commit is contained in:
Paul Makles
2022-06-02 11:14:22 +01:00
parent f1dd7d2c78
commit 6336b254c5
5 changed files with 28 additions and 27 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
# Build Stage
FROM rustlang/rust:nightly-slim AS builder
USER 0:0
WORKDIR /home/rust/src
# Install build requirements
RUN apt-get update && apt-get install -y libssl-dev pkg-config
# Build all crates
COPY Cargo.toml Cargo.lock ./
COPY crates ./crates
RUN cargo build --locked --release