delete obsolete dockerfile
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e72b92a678
commit
ae0bd48c38
1 changed files with 0 additions and 24 deletions
24
Dockerfile
24
Dockerfile
|
@ -1,24 +0,0 @@
|
|||
# this uses buster as alpine would always segfault
|
||||
FROM rust:buster as builder
|
||||
LABEL maintainer="LordMZTE <https://github.com/lordmzte>"
|
||||
|
||||
RUN apt install \
|
||||
gcc \
|
||||
libssl-dev
|
||||
|
||||
WORKDIR /usr/src/ruff
|
||||
COPY Cargo.toml ./
|
||||
COPY src/ src/
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
FROM debian:buster
|
||||
COPY --from=builder /usr/src/ruff/target/release/ruff /usr/bin
|
||||
|
||||
RUN apt update
|
||||
RUN apt install \
|
||||
libssl1.1
|
||||
|
||||
VOLUME /ruffconfig
|
||||
CMD /usr/bin/ruff -c /ruffconfig/config.toml
|
||||
|
Loading…
Reference in a new issue