rust-image
This commit is contained in:
parent
fbf2c6f593
commit
c1f3bd96ab
|
@ -1,4 +1,4 @@
|
||||||
FROM rustlang/rust as build
|
FROM rust as build
|
||||||
|
|
||||||
# had to add this for open-ssl
|
# had to add this for open-ssl
|
||||||
RUN apt-get update -y && \
|
RUN apt-get update -y && \
|
||||||
|
@ -23,7 +23,7 @@ COPY ./src ./src
|
||||||
RUN rm ./target/release/deps/presence*
|
RUN rm ./target/release/deps/presence*
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
FROM rustlang/rust
|
FROM rust
|
||||||
|
|
||||||
ENV RUST_BACKTRACE=full
|
ENV RUST_BACKTRACE=full
|
||||||
RUN apt-get update && apt install -y openssl libssl-dev
|
RUN apt-get update && apt install -y openssl libssl-dev
|
||||||
|
|
Loading…
Reference in New Issue
Block a user