start unpicking influxdb
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FROM rust:slim as builder
|
||||
FROM rust:slim AS builder
|
||||
|
||||
RUN apt-get update && apt-get install -y libssl-dev pkg-config
|
||||
RUN apt-get update && apt-get install -y libudev-dev pkg-config
|
||||
# build deps only first for build cache
|
||||
WORKDIR /usr/src
|
||||
RUN USER=root cargo new chimemon
|
||||
@@ -11,6 +11,7 @@ COPY . .
|
||||
RUN cargo build --release
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
RUN apt-get update && apt-get install -y libudev
|
||||
WORKDIR /app
|
||||
COPY --from=builder /usr/src/chimemon/target/release/chimemon chimemon
|
||||
CMD ["/app/chimemon"]
|
||||
|
||||
Reference in New Issue
Block a user