1
0
Fork 0

Bump version

This commit is contained in:
Jordan Doyle 2022-03-14 22:45:28 +00:00
parent e1639c032a
commit 776bec1b30
No known key found for this signature in database
GPG key ID: 1EA6BAE6F66DC49A
4 changed files with 22 additions and 12 deletions

View file

@ -1,15 +1,12 @@
FROM rust:1.45-slim-stretch AS builder
RUN rustup install nightly-x86_64-unknown-linux-gnu
RUN apt update && apt install -y libclang-dev
FROM rust:1-slim AS builder
COPY . /sources
WORKDIR /sources
RUN cargo +nightly build --release
RUN cargo build --release
RUN chown nobody:nogroup /sources/target/release/bin
FROM debian:stretch-slim
FROM debian:bullseye-slim
COPY --from=builder /sources/target/release/bin /pastebin
USER nobody