Bump version
This commit is contained in:
parent
e1639c032a
commit
776bec1b30
4 changed files with 22 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue